Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mobile][photos] delete all -> empty trash and use red asset in perm delete confirm sheet

Priyanshu Dangare09eb12935cf1
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/trash_page.dart b/mobile/apps/photos/lib/ui/viewer/gallery/trash_page.dart
index 0db5a57b48..2d3ac33635 100644
--- a/mobile/apps/photos/lib/ui/viewer/gallery/trash_page.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/trash_page.dart
@@ -163,7 +163,7 @@ class _TrashPageState extends State<_TrashPage> {
return Padding(
padding: const EdgeInsets.only(bottom: 4),
child: FABComponent(
- label: l10n.deleteAll,
+ label: l10n.emptyTrash,
variant: FABComponentVariant.destructive,
onTap: () =>
showConfirmDeleteAllTrashSheet(context, _isOnEnteTrash),
diff --git a/mobile/apps/photos/lib/utils/delete_file_util.dart b/mobile/apps/photos/lib/utils/delete_file_util.dart
index 512019eacb..c89a3c7176 100644
--- a/mobile/apps/photos/lib/utils/delete_file_util.dart
+++ b/mobile/apps/photos/lib/utils/delete_file_util.dart
@@ -1059,7 +1059,7 @@ class PermanentlyDeleteConfirmationSheet extends StatelessWidget {
return BottomSheetComponent(
title: l10n.areYouSure,
message: l10n.selectedItemsWillBePermanentlyDeletedAndCannotBeRecovered,
- illustration: Image.asset("assets/warning-grey.png"),
+ illustration: Image.asset("assets/warning-red.png"),
closeTooltip: l10n.close,
closeResult: ButtonResult(ButtonAction.fourth),
actions: [