π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix: exclude favorites from available collections in BaseInfoPage
AmanRajSinghMourya20ffefdb9adf
diff --git a/mobile/apps/locker/lib/ui/pages/base_info_page.dart b/mobile/apps/locker/lib/ui/pages/base_info_page.dartindex d02c131c52..ed3fd2b5e9 100644--- a/mobile/apps/locker/lib/ui/pages/base_info_page.dart+++ b/mobile/apps/locker/lib/ui/pages/base_info_page.dart@@ -181,9 +181,13 @@ abstract class BaseInfoPageState<T extends InfoData, W extends BaseInfoPage<T>>try {final collections = await CollectionService.instance.getCollections();setState(() {- // Filter out uncategorized collection (it will be shown separately)+ // Filter out uncategorized and favorites collections_availableCollections = collections- .where((c) => c.type != CollectionType.uncategorized)+ .where(+ (c) =>+ c.type != CollectionType.uncategorized &&+ c.type != CollectionType.favorites,+ ).toList();// Pre-select a default collection if availableif (_availableCollections.isNotEmpty) {