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,16 +131,18 @@ class _MemoryCoverWidgetState extends State<MemoryCoverWidget> {
|
|||||||
),
|
),
|
||||||
child: Hero(
|
child: Hero(
|
||||||
tag: title,
|
tag: title,
|
||||||
child: Text(
|
child: Center(
|
||||||
title,
|
child: Text(
|
||||||
style: getEnteTextTheme(context)
|
title,
|
||||||
.miniBold
|
style: getEnteTextTheme(context)
|
||||||
.copyWith(
|
.miniBold
|
||||||
color: isSeen
|
.copyWith(
|
||||||
? textFaintDark
|
color: isSeen
|
||||||
: Colors.white,
|
? textFaintDark
|
||||||
),
|
: Colors.white,
|
||||||
textAlign: TextAlign.center,
|
),
|
||||||
|
textAlign: TextAlign.left,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -180,14 +182,16 @@ class _MemoryCoverWidgetState extends State<MemoryCoverWidget> {
|
|||||||
),
|
),
|
||||||
child: Hero(
|
child: Hero(
|
||||||
tag: title,
|
tag: title,
|
||||||
child: Text(
|
child: Center(
|
||||||
title,
|
child: Text(
|
||||||
style: getEnteTextTheme(context)
|
title,
|
||||||
.miniBold
|
style: getEnteTextTheme(context)
|
||||||
.copyWith(
|
.miniBold
|
||||||
color: Colors.white,
|
.copyWith(
|
||||||
),
|
color: Colors.white,
|
||||||
textAlign: TextAlign.center,
|
),
|
||||||
|
textAlign: TextAlign.left,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user