π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Make methods private
ashilkn98c444fab9f9
diff --git a/mobile/lib/services/magic_cache_service.dart b/mobile/lib/services/magic_cache_service.dartindex b1cdd6c8c9..59f3f69717 100644--- a/mobile/lib/services/magic_cache_service.dart+++ b/mobile/lib/services/magic_cache_service.dart@@ -84,7 +84,7 @@ class MagicCacheService {}}- Future<List<int>> getMatchingFileIDsForPromptData(+ Future<List<int>> _getMatchingFileIDsForPromptData(Map<String, dynamic> promptData,) async {final result = await SemanticSearchService.instance.getMatchingFileIDs(@@ -104,7 +104,7 @@ class MagicCacheService {);}- Future<List<MagicCache>?> getMagicCache() async {+ Future<List<MagicCache>?> _getMagicCache() async {final jsonString = prefs.getString(_key);if (jsonString == null) {_logger.info("No $_key in shared preferences");@@ -118,7 +118,7 @@ class MagicCacheService {}Future<List<GenericSearchResult>> getMagicGenericSearchResult() async {- final magicCaches = await getMagicCache();+ final magicCaches = await _getMagicCache();if (magicCaches == null) {_logger.info("No magic cache found");return [];@@ -154,7 +154,7 @@ class MagicCacheService {)..shuffle();for (final index in randomIndexes) {final files =- await getMatchingFileIDsForPromptData(magicPromptsData[index]);+ await _getMatchingFileIDsForPromptData(magicPromptsData[index]);if (files.isNotEmpty) {results.add(MagicCache(