Skip to content

armgit / ente

Public Imported from GitHub
0

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

Refactor magicCacheService updateCache call

Prateek Sunalc5d9f84da956
diff --git a/mobile/apps/photos/lib/services/machine_learning/ml_service.dart b/mobile/apps/photos/lib/services/machine_learning/ml_service.dart
index 9516068445..e31d3a370d 100644
--- a/mobile/apps/photos/lib/services/machine_learning/ml_service.dart
+++ b/mobile/apps/photos/lib/services/machine_learning/ml_service.dart
@@ -234,7 +234,7 @@ class MLService {
}
// Persist refreshed caches after ML so foreground can pick them up
// on the next resume, even when the work ran headlessly in background.
- magicCacheService.updateCache(forced: force).ignore();
+ magicCacheService.updateCache().ignore();
memoriesCacheService.updateCache(forced: force).ignore();
}
} catch (e, s) {