π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Do stale cache check before updating
laurenspriem6fd9f0f06652
diff --git a/mobile/apps/photos/lib/services/magic_cache_service.dart b/mobile/apps/photos/lib/services/magic_cache_service.dartindex 0790199698..2d60e8214b 100644--- a/mobile/apps/photos/lib/services/magic_cache_service.dart+++ b/mobile/apps/photos/lib/services/magic_cache_service.dart@@ -304,6 +304,7 @@ class MagicCacheService {if (forced) {_pendingUpdateReason.add("Forced update");}+ await _updateCacheIfTheTimeHasCome();try {if (_pendingUpdateReason.isEmpty || _isUpdateInProgress) {_logger.info(