瀏覽代碼

Updated copies

ashilkn 2 年之前
父節點
當前提交
5f73c8a4e3

+ 1 - 1
lib/ui/viewer/actions/file_selection_actions_widget.dart

@@ -248,7 +248,7 @@ class _FileSelectionActionWidgetState extends State<FileSelectionActionWidget> {
       secondList.add(
         BlurMenuItemWidget(
           leadingIcon: Icons.delete_forever_outlined,
-          labelText: "Permanently delete now",
+          labelText: "Permanently delete",
           menuItemColor: colorScheme.fillFaint,
           onTap: _permanentlyDelete,
         ),

+ 1 - 1
lib/ui/viewer/gallery/trash_page.dart

@@ -123,7 +123,7 @@ class _TrashPageState extends State<TrashPage> {
           return Padding(
             padding: const EdgeInsets.all(16),
             child: Text(
-              'Items show the number the days remaining before permanent deletion',
+              'Items show the number of days remaining before permanent deletion',
               style:
                   Theme.of(context).textTheme.caption!.copyWith(fontSize: 16),
             ),

+ 4 - 2
lib/utils/delete_file_util.dart

@@ -265,7 +265,7 @@ Future<bool> deleteFromTrash(BuildContext context, List<File> files) async {
   bool didDeletionStart = false;
   final result = await showNewChoiceDialog(
     context,
-    title: "Delete permanently",
+    title: "Permanently delete?",
     body: "This action cannot be undone",
     firstButtonLabel: "Delete",
     isCritical: true,
@@ -300,7 +300,9 @@ Future<bool> deleteFromTrash(BuildContext context, List<File> files) async {
 Future<bool> emptyTrash(BuildContext context) async {
   final result = await showNewChoiceDialog(
     context,
-    title: "Empty trash",
+    title: "Empty trash?",
+    body:
+        "All items in trash will be permanently deleted\n\nThis action cannot be undone",
     firstButtonLabel: "Empty",
     isCritical: true,
     firstButtonOnTap: () async {