π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Make reading of magic cache syncronous for faster loading of search tab
ashilknae5ebf4bf967
diff --git a/mobile/lib/services/magic_cache_service.dart b/mobile/lib/services/magic_cache_service.dartindex 151b3a748a..59302034e7 100644--- a/mobile/lib/services/magic_cache_service.dart+++ b/mobile/lib/services/magic_cache_service.dart@@ -160,7 +160,7 @@ class MagicCacheService {_logger.info("No magic cache found");return null;}- final jsonString = await file.readAsString();+ final jsonString = file.readAsStringSync();return MagicCache.decodeJsonToList(jsonString);}