π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
UI/UX consistencies
ashilkn0914d9e2ed56
diff --git a/mobile/apps/photos/lib/l10n/intl_en.arb b/mobile/apps/photos/lib/l10n/intl_en.arbindex d0d4cad645..31438e6ceb 100644--- a/mobile/apps/photos/lib/l10n/intl_en.arb+++ b/mobile/apps/photos/lib/l10n/intl_en.arb@@ -2529,14 +2529,5 @@"deleteHiddenFilesFromDevice": "Delete hidden files from device","deleteHiddenFilesFromDeviceDescription": "Delete local copies of hidden files from your device","deleteOnDeviceFiles": "Delete on device files",- "noHiddenFilesOnDevice": "No hidden files on device",- "deleteSelectedFromDevice": "Delete selected from device",- "deleteFromDeviceConfirmation": "Are you sure you want to delete {count, plural, =1{1 file} other{{count} files}} from your device? The files will remain safe in the cloud.",- "@deleteFromDeviceConfirmation": {- "placeholders": {- "count": {- "type": "int"- }- }- }+ "noHiddenFilesOnDevice": "No hidden files on device"}diff --git a/mobile/apps/photos/lib/ui/viewer/actions/file_selection_actions_widget.dart b/mobile/apps/photos/lib/ui/viewer/actions/file_selection_actions_widget.dartindex ad0c630c53..e251f94e88 100644--- a/mobile/apps/photos/lib/ui/viewer/actions/file_selection_actions_widget.dart+++ b/mobile/apps/photos/lib/ui/viewer/actions/file_selection_actions_widget.dart@@ -1056,15 +1056,14 @@ class _FileSelectionActionsWidgetStateFuture<void> _deleteSelectedFromDevice() async {final filesToDelete = widget.selectedFiles.files.toList();- final count = filesToDelete.length;final l10n = AppLocalizations.of(context);final actionResult = await showActionSheet(context: context,buttons: [ButtonWidget(- labelText: l10n.deleteSelectedFromDevice,- buttonType: ButtonType.critical,+ labelText: l10n.deleteFromDevice,+ buttonType: ButtonType.neutral,buttonSize: ButtonSize.large,shouldStickToDarkTheme: true,buttonAction: ButtonAction.first,@@ -1090,8 +1089,7 @@ class _FileSelectionActionsWidgetStateisInAlert: true,),],- title: l10n.deleteFromDevice,- body: l10n.deleteFromDeviceConfirmation(count: count),+ body: l10n.theseItemsWillBeDeletedFromYourDevice,actionSheetType: ActionSheetType.defaultActionSheet,);diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/cleanup_hidden_from_device_page.dart b/mobile/apps/photos/lib/ui/viewer/gallery/cleanup_hidden_from_device_page.dartindex 60bf7e98ce..ec0edb9d00 100644--- a/mobile/apps/photos/lib/ui/viewer/gallery/cleanup_hidden_from_device_page.dart+++ b/mobile/apps/photos/lib/ui/viewer/gallery/cleanup_hidden_from_device_page.dart@@ -173,8 +173,8 @@ class _CleanupHiddenFromDevicePageStatecontext: context,buttons: [ButtonWidget(- labelText: l10n.deleteAll,- buttonType: ButtonType.critical,+ labelText: l10n.deleteFromDevice,+ buttonType: ButtonType.neutral,buttonSize: ButtonSize.large,shouldStickToDarkTheme: true,buttonAction: ButtonAction.first,@@ -200,8 +200,7 @@ class _CleanupHiddenFromDevicePageStateisInAlert: true,),],- title: l10n.deleteFromDevice,- body: l10n.deleteFromDeviceConfirmation(count: allFiles.length),+ body: l10n.theseItemsWillBeDeletedFromYourDevice,actionSheetType: ActionSheetType.defaultActionSheet,);