Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Change leading width of appbar when filters are applied

ashilkn925abee3c52f
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 bb7266f45f..de5ce4c514 100644
--- a/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart
+++ b/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart
@@ -149,6 +149,7 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {
),
builder: (context, isSearching, child) {
return AppBar(
+ leadingWidth: isSearching ? 28 : null,
elevation: 0,
centerTitle: false,
title: isSearching
diff --git a/mobile/lib/ui/viewer/people/people_app_bar.dart b/mobile/lib/ui/viewer/people/people_app_bar.dart
index 13a7e8bd23..80ef69a9bb 100644
--- a/mobile/lib/ui/viewer/people/people_app_bar.dart
+++ b/mobile/lib/ui/viewer/people/people_app_bar.dart
@@ -102,6 +102,7 @@ class _AppBarWidgetState extends State<PeopleAppBar> {
),
builder: (context, isSearching, child) {
return AppBar(
+ leadingWidth: isSearching ? 28 : null,
elevation: 0,
centerTitle: false,
title: isSearching