Skip to content

armgit / ente

Public Imported from GitHub
0

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

Only smart memories if local indexing

laurenspriem8e4dd0458828
diff --git a/mobile/lib/services/memories_cache_service.dart b/mobile/lib/services/memories_cache_service.dart
index 0c5aab6c8b..c2878edb64 100644
--- a/mobile/lib/services/memories_cache_service.dart
+++ b/mobile/lib/services/memories_cache_service.dart
@@ -88,7 +88,8 @@ class MemoriesCacheService {
Bus.instance.fire(MemoriesSettingChanged());
}
- bool get enableSmartMemories => flagService.hasGrantedMLConsent;
+ bool get enableSmartMemories =>
+ flagService.hasGrantedMLConsent && localSettings.isMLLocalIndexingEnabled;
void _checkIfTimeToUpdateCache() {
if (!enableSmartMemories) {