Skip to content

armgit / ente

Public Imported from GitHub
0

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

Make bottom caption of fullscreen memory better looking

ashilknff9473425cbd
diff --git a/mobile/lib/ui/home/memories/full_screen_memory.dart b/mobile/lib/ui/home/memories/full_screen_memory.dart
index 7c75cb25f6..7a09c80f2a 100644
--- a/mobile/lib/ui/home/memories/full_screen_memory.dart
+++ b/mobile/lib/ui/home/memories/full_screen_memory.dart
@@ -7,6 +7,7 @@ import "package:photos/core/configuration.dart";
import "package:photos/models/memories/memory.dart";
import "package:photos/service_locator.dart";
import "package:photos/services/smart_memories_service.dart";
+import "package:photos/theme/ente_theme.dart";
import "package:photos/theme/text_style.dart";
import "package:photos/ui/actions/file/file_actions.dart";
import "package:photos/ui/viewer/file/file_widget.dart";
@@ -293,11 +294,19 @@ class _FullScreenMemoryState extends State<FullScreenMemory> {
switchInCurve: Curves.easeOut,
switchOutCurve: Curves.easeIn,
child: value
- ? Hero(
- tag: widget.title,
- child: Text(
- widget.title,
- style: darkTextTheme.h2,
+ ? Padding(
+ padding: const EdgeInsets.fromLTRB(16, 4, 16, 12),
+ child: Hero(
+ tag: widget.title,
+ child: Text(
+ widget.title,
+ style: getEnteTextTheme(context)
+ .largeBold
+ .copyWith(
+ color:
+ Colors.white, //same for both themes
+ ),
+ ),
),
)
: showStepProgressIndicator