Skip to content

armgit / ente

Public Imported from GitHub
0

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

Display uncategorized and trash hooks conditionally in AllCollectionsPage

AmanRajSinghMourya7a996d274334
diff --git a/mobile/apps/locker/lib/ui/pages/all_collections_page.dart b/mobile/apps/locker/lib/ui/pages/all_collections_page.dart
index 1cfc5af79a..d0667da443 100644
--- a/mobile/apps/locker/lib/ui/pages/all_collections_page.dart
+++ b/mobile/apps/locker/lib/ui/pages/all_collections_page.dart
@@ -227,6 +227,10 @@ class _AllCollectionsPageState extends State<AllCollectionsPage> {
),
textAlign: TextAlign.center,
),
+ const SizedBox(height: 20),
+ if (_uncategorizedCollection != null && showUncategorized)
+ _buildUncategorizedHook(),
+ if (showTrash) _buildTrashHook(),
],
),
),