π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix: remove support for favorites and uncateogrized albums
Prateek Sunalb4ebc8482ff4
diff --git a/mobile/apps/photos/lib/models/collection/collection.dart b/mobile/apps/photos/lib/models/collection/collection.dartindex 35d4a5167a..ffb60673c5 100644--- a/mobile/apps/photos/lib/models/collection/collection.dart+++ b/mobile/apps/photos/lib/models/collection/collection.dart@@ -142,7 +142,9 @@ class Collection {bool canAutoAdd(int userID) {final canEditCollection = isOwner(userID) ||getRole(userID) == CollectionParticipantRole.collaborator;- return canEditCollection && !isDeleted;+ final isFavoritesOrUncategorized = type == CollectionType.favorites ||+ type == CollectionType.uncategorized;+ return canEditCollection && !isDeleted && !isFavoritesOrUncategorized;}bool isDownloadEnabledForPublicLink() {