π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Fix lastTimeWith
laurenspriemf4d73e683c66
diff --git a/mobile/lib/services/smart_memories_service.dart b/mobile/lib/services/smart_memories_service.dartindex 39e1261fa3..f1f556c9a6 100644--- a/mobile/lib/services/smart_memories_service.dart+++ b/mobile/lib/services/smart_memories_service.dart@@ -378,13 +378,15 @@ class SmartMemoriesService {longAgo = false;break fileLoop;}- if (creationTime > lastCreationTime) {+ if (creationTime > lastCreationTime - microSecondsInDay) {final lastDateTime =DateTime.fromMicrosecondsSinceEpoch(lastCreationTime);if (creationDateTime.difference(lastDateTime).inHours > 24) {lastTimeYouSawThemFiles.clear();}- lastCreationTime = creationTime;+ if (creationTime > lastCreationTime) {+ lastCreationTime = creationTime;+ }lastTimeYouSawThemFiles.add(file);}}