π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Exclude deleted albums from auto-move targets during album deletion
AmanRajSinghMouryaf3ff387ec5d4
diff --git a/mobile/apps/photos/lib/ui/actions/collection/collection_sharing_actions.dart b/mobile/apps/photos/lib/ui/actions/collection/collection_sharing_actions.dartindex 06de154cc0..d62c9c6be3 100644--- a/mobile/apps/photos/lib/ui/actions/collection/collection_sharing_actions.dart+++ b/mobile/apps/photos/lib/ui/actions/collection/collection_sharing_actions.dart@@ -748,9 +748,10 @@ class CollectionActions {}final Collection? targetCollection =collectionsService.getCollectionByID(toCollectionID);- // ignore non-cached collections, uncategorized and favorite- // collections and collections ignored by others+ // ignore non-cached, deleted, uncategorized and favorite collections,+ // and collections ignored by othersif (targetCollection == null ||+ targetCollection.isDeleted ||(CollectionType.uncategorized == targetCollection.type ||targetCollection.type == CollectionType.favorites) ||targetCollection.owner.id != userID) {