π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
chore: gate collections sync behind only-new flag
Prateek Sunal8d8f7af672f7
diff --git a/mobile/apps/photos/lib/ui/tabs/home_widget.dart b/mobile/apps/photos/lib/ui/tabs/home_widget.dartindex c01c92ff38..8e0731b2e5 100644--- a/mobile/apps/photos/lib/ui/tabs/home_widget.dart+++ b/mobile/apps/photos/lib/ui/tabs/home_widget.dart@@ -734,9 +734,9 @@ class _HomeWidgetState extends State<HomeWidget> {_closeDrawerIfOpen(context);return const LandingPageWidget();}- _ensureCollectionsSync();if (flagService.enableOnlyBackupFuturePhotos) {_ensurePersonSync();+ _ensureCollectionsSync();}if (_shouldShowPermissionWidget()) {_ensurePersonSync();@@ -1034,6 +1034,10 @@ class _HomeWidgetState extends State<HomeWidget> {if (_collectionsSyncTriggered) {return;}+ if (!(localSettings.hasOnboardingPermissionSkipped ||+ localSettings.isOnlyNewBackupEnabled)) {+ return;+ }_collectionsSyncTriggered = true;CollectionsService.instance.sync().then((_) {if (mounted) {