π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Only use unnamed in offline or with few people
laurenspriembc4e9dc1b10a
diff --git a/mobile/apps/photos/lib/services/smart_memories_service.dart b/mobile/apps/photos/lib/services/smart_memories_service.dartindex d030a79060..3979954e86 100644--- a/mobile/apps/photos/lib/services/smart_memories_service.dart+++ b/mobile/apps/photos/lib/services/smart_memories_service.dart@@ -868,6 +868,7 @@ class SmartMemoriesService {.toList();orderedImportantPersonsID.shuffle(Random());final amountOfPersons = orderedImportantPersonsID.length;+ final canUseUnnamedFallback = isOfflineMode || amountOfPersons < 5;final shownPersonTimeout = Duration(days: min(kPersonShowTimeout.inDays,@@ -1301,7 +1302,7 @@ class SmartMemoriesService {}if (added > 0) break peopleRotationLoop;}- if (!addedFromRotation) {+ if (!addedFromRotation && canUseUnnamedFallback) {final eligibleUnnamedCandidates = <PeopleMemoryCandidate>[];for (final candidate in randomizedUnnamedClusterCandidates) {final candidatePersonID = candidate.personID;