Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Fix discovery section not appearing

ashilknfe92c1b30f62
diff --git a/mobile/lib/services/magic_cache_service.dart b/mobile/lib/services/magic_cache_service.dart
index abe1f334a8..b6b9674927 100644
--- a/mobile/lib/services/magic_cache_service.dart
+++ b/mobile/lib/services/magic_cache_service.dart
@@ -94,7 +94,7 @@ class MagicCacheService {
}
Future<void> _updateCacheIfTheTimeHasCome() async {
- if (localSettings.isMLIndexingEnabled) {
+ if (!localSettings.isMLIndexingEnabled) {
return;
}
final jsonFile = await RemoteAssetsService.instance