[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(
tag: title,
child: Center(
child: Text(
title,
style: getEnteTextTheme(context)
@ -140,7 +141,8 @@ class _MemoryCoverWidgetState extends State<MemoryCoverWidget> {
? textFaintDark
: Colors.white,
),
textAlign: TextAlign.center,
textAlign: TextAlign.left,
),
),
),
),
@ -180,6 +182,7 @@ class _MemoryCoverWidgetState extends State<MemoryCoverWidget> {
),
child: Hero(
tag: title,
child: Center(
child: Text(
title,
style: getEnteTextTheme(context)
@ -187,7 +190,8 @@ class _MemoryCoverWidgetState extends State<MemoryCoverWidget> {
.copyWith(
color: Colors.white,
),
textAlign: TextAlign.center,
textAlign: TextAlign.left,
),
),
),
),