Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] add search section top spacing

ashil-pilot0d4ea71a23d1
diff --git a/mobile/apps/photos/lib/ui/viewer/search_tab/search_tab.dart b/mobile/apps/photos/lib/ui/viewer/search_tab/search_tab.dart
index 1d79f773bd..298f6539ad 100644
--- a/mobile/apps/photos/lib/ui/viewer/search_tab/search_tab.dart
+++ b/mobile/apps/photos/lib/ui/viewer/search_tab/search_tab.dart
@@ -216,6 +216,7 @@ class _AllSearchSectionsState extends State<AllSearchSections> {
@override
Widget build(BuildContext context) {
+ const topPadding = 12.0;
const bottomPadding = 124.0;
return FutureBuilder<AllSectionsExamplesData>(
@@ -295,7 +296,10 @@ class _AllSearchSectionsState extends State<AllSearchSections> {
FileTypeSection(hasAnySearchableFiles: hasAnySearchableFiles),
];
return ListView.builder(
- padding: const EdgeInsets.only(bottom: bottomPadding),
+ padding: const EdgeInsets.only(
+ top: topPadding,
+ bottom: bottomPadding,
+ ),
physics: const BouncingScrollPhysics(),
keyboardDismissBehavior:
ScrollViewKeyboardDismissBehavior.onDrag,