Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix auto-add people selection persisting after deselection

Prateek Sunal9e7ed746b8f0
diff --git a/mobile/apps/photos/lib/services/smart_albums_service.dart b/mobile/apps/photos/lib/services/smart_albums_service.dart
index 1be07b7519..b67e95bbae 100644
--- a/mobile/apps/photos/lib/services/smart_albums_service.dart
+++ b/mobile/apps/photos/lib/services/smart_albums_service.dart
@@ -229,6 +229,12 @@ class SmartAlbumsService {
addWithCustomID: config.id == null,
userId: userId,
);
+ } else {
+ // Delete the config when no people are selected
+ await _deleteEntry(
+ userId: userId,
+ collectionId: config.collectionId,
+ );
}
}