π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] allow remote sync when only-new/skip
Prateek Sunal1d957cdc9f7f
diff --git a/mobile/apps/photos/lib/services/sync/sync_service.dart b/mobile/apps/photos/lib/services/sync/sync_service.dartindex 64bc41c451..c315c68461 100644--- a/mobile/apps/photos/lib/services/sync/sync_service.dart+++ b/mobile/apps/photos/lib/services/sync/sync_service.dart@@ -197,7 +197,14 @@ class SyncService {_logger.info("[SYNC] Starting local sync");await _localSyncService.sync();- if (_localSyncService.hasCompletedFirstImport()) {+ final bool hasCompletedFirstImport =+ _localSyncService.hasCompletedFirstImport();+ final bool allowRemoteSyncEarly =+ flagService.enableOnlyBackupFuturePhotos &&+ (localSettings.hasOnboardingPermissionSkipped ||+ localSettings.isOnlyNewBackupEnabled);++ if (hasCompletedFirstImport || allowRemoteSyncEarly) {_logger.info("[SYNC] Starting remote sync");await _remoteSyncService.sync();