π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix: don't delete entity if collection null
Prateek Sunal19e353453b81
diff --git a/mobile/apps/photos/lib/services/smart_albums_service.dart b/mobile/apps/photos/lib/services/smart_albums_service.dartindex 2f0998a579..1bdff8fa83 100644--- a/mobile/apps/photos/lib/services/smart_albums_service.dart+++ b/mobile/apps/photos/lib/services/smart_albums_service.dart@@ -108,7 +108,7 @@ class SmartAlbumsService {_logger.warning("For config ($collectionId) user does not have permission",);- if (collection?.isDeleted ?? true) {+ if (collection?.isDeleted ?? false) {await _deleteEntry(userId: userId,collectionId: collectionId,