Skip to content

armgit / ente

Public Imported from GitHub
0

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

add gradient on top of FullScreenMemory for better visibilty of top widgets

ashilkn59add2ed04c0
diff --git a/lib/ui/home/memories/full_screen_memory_new.dart b/lib/ui/home/memories/full_screen_memory_new.dart
index 2fe59f54c6..ec7747a1e5 100644
--- a/lib/ui/home/memories/full_screen_memory_new.dart
+++ b/lib/ui/home/memories/full_screen_memory_new.dart
@@ -187,6 +187,22 @@ class _FullScreenMemoryNewState extends State<FullScreenMemoryNew> {
);
},
),
+ flexibleSpace: Container(
+ decoration: BoxDecoration(
+ gradient: LinearGradient(
+ begin: Alignment.topCenter,
+ end: Alignment.bottomCenter,
+ colors: [
+ Colors.black.withOpacity(0.6),
+ Colors.black.withOpacity(0.5),
+ Colors.transparent,
+ ],
+ stops: const [0, 0.6, 1],
+ ),
+ ),
+ ),
+ backgroundColor: const Color(0x00000000),
+ elevation: 0,
),
body: Stack(
alignment: Alignment.bottomCenter,