mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 15:30:40 +00:00
[mob][photos] Make text alignment perfect
This commit is contained in:
parent
09fe2c6f7e
commit
c453827cc8
@ -131,6 +131,7 @@ class _MemoryCoverWidgetState extends State<MemoryCoverWidget> {
|
|||||||
),
|
),
|
||||||
child: Hero(
|
child: Hero(
|
||||||
tag: title,
|
tag: title,
|
||||||
|
child: Center(
|
||||||
child: Text(
|
child: Text(
|
||||||
title,
|
title,
|
||||||
style: getEnteTextTheme(context)
|
style: getEnteTextTheme(context)
|
||||||
@ -140,7 +141,8 @@ class _MemoryCoverWidgetState extends State<MemoryCoverWidget> {
|
|||||||
? textFaintDark
|
? textFaintDark
|
||||||
: Colors.white,
|
: Colors.white,
|
||||||
),
|
),
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.left,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -180,6 +182,7 @@ class _MemoryCoverWidgetState extends State<MemoryCoverWidget> {
|
|||||||
),
|
),
|
||||||
child: Hero(
|
child: Hero(
|
||||||
tag: title,
|
tag: title,
|
||||||
|
child: Center(
|
||||||
child: Text(
|
child: Text(
|
||||||
title,
|
title,
|
||||||
style: getEnteTextTheme(context)
|
style: getEnteTextTheme(context)
|
||||||
@ -187,7 +190,8 @@ class _MemoryCoverWidgetState extends State<MemoryCoverWidget> {
|
|||||||
.copyWith(
|
.copyWith(
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
),
|
),
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.left,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user