π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove verbose comments from backup_flow_helper
Prateek Sunal028312de56b2
diff --git a/mobile/apps/photos/lib/ui/common/backup_flow_helper.dart b/mobile/apps/photos/lib/ui/common/backup_flow_helper.dartindex 9afe9b4fcd..3722138f54 100644--- a/mobile/apps/photos/lib/ui/common/backup_flow_helper.dart+++ b/mobile/apps/photos/lib/ui/common/backup_flow_helper.dart@@ -13,8 +13,6 @@ import "package:photos/utils/navigation_util.dart";final _logger = Logger("BackupFlowHelper");-/// Full permission flow - request permissions, show dialogs if denied/limited.-/// Used by: home_header_widgetFuture<void> handleFullPermissionBackupFlow(BuildContext context) async {if (backupPreferenceService.hasSkippedOnboardingPermission) {await _handleSkippedPermissionFlow(context);@@ -37,8 +35,6 @@ Future<void> handleFullPermissionBackupFlow(BuildContext context) async {}}-/// If limited permission, show presentLimited; else go to folder selection.-/// Used by: start_backup_hook_widgetFuture<void> handleLimitedOrFolderBackupFlow(BuildContext context, {bool isFirstBackup = true,@@ -55,8 +51,6 @@ Future<void> handleLimitedOrFolderBackupFlow(}}-/// Just navigate to folder selection without permission handling.-/// Used by: tab_empty_state, backup_section_widgetFuture<void> handleFolderSelectionBackupFlow(BuildContext context, {bool isFirstBackup = false,@@ -69,8 +63,6 @@ Future<void> handleFolderSelectionBackupFlow(await _navigateToFolderSelection(context, isFirstBackup: isFirstBackup);}-/// Handles flow for users who skipped permission during onboarding.-/// Shows LoadingPhotosWidget after granting permissions.Future<void> _handleSkippedPermissionFlow(BuildContext context) async {final state = await _requestPermissions();if (state == null || !context.mounted) return;@@ -80,17 +72,12 @@ Future<void> _handleSkippedPermissionFlow(BuildContext context) async {return;}- // LoadingPhotosWidget handles navigation to folder selection internallyawait routeToPage(context,const LoadingPhotosWidget(isOnboardingFlow: false),);}-// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ-// Helper functions-// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ-Future<PermissionState?> _requestPermissions() async {try {final state = await permissionService.requestPhotoMangerPermissions();