π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix duplicates in time memories
laurenspriem743205f4c818
diff --git a/mobile/lib/services/smart_memories_service.dart b/mobile/lib/services/smart_memories_service.dartindex 16dbf8ff7c..fc43be8ce0 100644--- a/mobile/lib/services/smart_memories_service.dart+++ b/mobile/lib/services/smart_memories_service.dart@@ -1219,7 +1219,7 @@ class SmartMemoriesService {}static Future<List<TimeMemory>> _onThisDayOrWeekResults(- Iterable<EnteFile> allFiles,+ Set<EnteFile> allFiles,DateTime currentTime, {required Map<int, int> seenTimes,required Map<int, List<FaceWithoutEmbedding>> fileIdToFaces,@@ -1393,6 +1393,7 @@ class SmartMemoriesService {// Group files by month and yearfinal currentMonthYearGroups = <int, List<Memory>>{};+ _deductUsedMemories(allFiles, memoryResult);for (final file in allFiles) {if (file.creationTime! > cutOffTime.microsecondsSinceEpoch) continue;