Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mobile][photos] Backfill notification after processing old memories

Priyanshu Dangare6a5b44dcf35a
diff --git a/mobile/apps/photos/lib/services/memories_cache_service.dart b/mobile/apps/photos/lib/services/memories_cache_service.dart
index de15545fde..3fb823363a 100644
--- a/mobile/apps/photos/lib/services/memories_cache_service.dart
+++ b/mobile/apps/photos/lib/services/memories_cache_service.dart
@@ -931,9 +931,9 @@ class MemoriesCacheService {
w?.start();
final oldCache = await _readCacheFromDisk();
w?.log("gotten old cache");
- await _backfillInitialMemoriesNotification(oldCache);
final MemoriesCache newCache = _processOldCache(oldCache);
w?.log("processed old cache");
+ await _backfillInitialMemoriesNotification(newCache);
final now = DateTime.now();
final next = now.add(kMemoriesUpdateFrequency);
final mlReady = await _isMlReady();