Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Elevate app bar which has filters when gallery is scroll underneath to it (only visible in light theme)

ashilkne7525ff5ea43
diff --git a/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart b/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart
index ee25c311bd..bb7266f45f 100644
--- a/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart
+++ b/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart
@@ -168,6 +168,9 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {
),
actions: isSearching ? null : _getDefaultActions(context),
bottom: child as PreferredSizeWidget,
+ surfaceTintColor: Colors.transparent,
+ scrolledUnderElevation: 4,
+ shadowColor: Colors.black.withOpacity(0.15),
);
},
)
diff --git a/mobile/lib/ui/viewer/people/people_app_bar.dart b/mobile/lib/ui/viewer/people/people_app_bar.dart
index a5dd615441..13a7e8bd23 100644
--- a/mobile/lib/ui/viewer/people/people_app_bar.dart
+++ b/mobile/lib/ui/viewer/people/people_app_bar.dart
@@ -121,6 +121,9 @@ class _AppBarWidgetState extends State<PeopleAppBar> {
),
bottom: child as PreferredSizeWidget,
actions: isSearching ? null : _getDefaultActions(context),
+ surfaceTintColor: Colors.transparent,
+ scrolledUnderElevation: 4,
+ shadowColor: Colors.black.withOpacity(0.15),
);
},
)