Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] Make text alignment perfect

ashilknc453827cc850
diff --git a/mobile/lib/ui/home/memories/memory_cover_widget.dart b/mobile/lib/ui/home/memories/memory_cover_widget.dart
index 50410c14ee..0dfc9adf84 100644
--- a/mobile/lib/ui/home/memories/memory_cover_widget.dart
+++ b/mobile/lib/ui/home/memories/memory_cover_widget.dart
@@ -131,16 +131,18 @@ class _MemoryCoverWidgetState extends State<MemoryCoverWidget> {
),
child: Hero(
tag: title,
- child: Text(
- title,
- style: getEnteTextTheme(context)
- .miniBold
- .copyWith(
- color: isSeen
- ? textFaintDark
- : Colors.white,
- ),
- textAlign: TextAlign.center,
+ child: Center(
+ child: Text(
+ title,
+ style: getEnteTextTheme(context)
+ .miniBold
+ .copyWith(
+ color: isSeen
+ ? textFaintDark
+ : Colors.white,
+ ),
+ textAlign: TextAlign.left,
+ ),
),
),
),
@@ -180,14 +182,16 @@ class _MemoryCoverWidgetState extends State<MemoryCoverWidget> {
),
child: Hero(
tag: title,
- child: Text(
- title,
- style: getEnteTextTheme(context)
- .miniBold
- .copyWith(
- color: Colors.white,
- ),
- textAlign: TextAlign.center,
+ child: Center(
+ child: Text(
+ title,
+ style: getEnteTextTheme(context)
+ .miniBold
+ .copyWith(
+ color: Colors.white,
+ ),
+ textAlign: TextAlign.left,
+ ),
),
),
),