π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mobile][photos] filter ineligible auto-add albums
r4khul54b8352ff98b
diff --git a/mobile/apps/photos/lib/ui/collections/collection_action_sheet.dart b/mobile/apps/photos/lib/ui/collections/collection_action_sheet.dartindex bc88c30b17..fd99cc3c5f 100644--- a/mobile/apps/photos/lib/ui/collections/collection_action_sheet.dart+++ b/mobile/apps/photos/lib/ui/collections/collection_action_sheet.dart@@ -329,6 +329,12 @@ class _CollectionActionSheetState extends State<CollectionActionSheet> {collections.removeWhere((c) => recentIds.contains(c.id));}+ if (widget.actionType == CollectionActionType.autoAddPeople) {+ final userID = Configuration.instance.getUserID()!;+ collections.removeWhere((c) => !c.canAutoAdd(userID));+ recentCollections.removeWhere((c) => !c.canAutoAdd(userID));+ }+List<Collection> sharedCollections = [];if (widget.actionType == CollectionActionType.moveFiles) {sharedCollections = _getSharedCollections();