[mob][photos] Make text alignment perfect

This commit is contained in:
ashilkn 2024-12-20 12:57:21 +05:30
parent 09fe2c6f7e
commit c453827cc8

View File

@ -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,
),
), ),
), ),
), ),