Skip to content

armgit / ente

Public Imported from GitHub
0

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

disable recents

ashilkn67f652ac9af5
diff --git a/lib/ui/search_tab.dart b/lib/ui/search_tab.dart
index b58ec7644c..57942545d7 100644
--- a/lib/ui/search_tab.dart
+++ b/lib/ui/search_tab.dart
@@ -112,9 +112,11 @@ class _AllSearchSectionsState extends State<AllSearchSections> {
itemCount: searchTypes.length,
itemBuilder: (context, index) {
return searchTypes[index] == SectionType.recents
- ? RecentSection(
- searches: snapshot.data!.elementAt(index),
- )
+ ? const SizedBox.shrink()
+ //Recents is in WIP
+ // ? RecentSection(
+ // searches: snapshot.data!.elementAt(index),
+ // )
: SearchSection(
sectionType: searchTypes[index],
examples: snapshot.data!.elementAt(index),