π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Short circuit getCollectionIDsToExclude in offline mode
Neeraj Gupta957f7eb7cb71
diff --git a/mobile/apps/photos/lib/services/smart_memories_service.dart b/mobile/apps/photos/lib/services/smart_memories_service.dartindex e1e5d60c5c..ed98132835 100644--- a/mobile/apps/photos/lib/services/smart_memories_service.dart+++ b/mobile/apps/photos/lib/services/smart_memories_service.dart@@ -1886,6 +1886,9 @@ class SmartMemoriesService {}Future<Set<int>> getCollectionIDsToExclude() async {+ if (isOfflineMode) {+ return <int>{};+ }final collections = CollectionsService.instance.getCollectionsForUI();// Names of collections to exclude