mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 21:55:13 +00:00
Permanent deletion
This commit is contained in:
parent
df4688e53c
commit
6a470122b0
1 changed files with 2 additions and 2 deletions
|
@ -2886,7 +2886,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
|
||||
if (result.isTrash || !result.hasTrash || result.isJunk ||
|
||||
ids.length <= MAX_PERMANENT_DELETE) // is trash or no trash or is junk
|
||||
popupMenu.getMenu().add(Menu.NONE, R.string.title_delete, order++, R.string.title_delete);
|
||||
popupMenu.getMenu().add(Menu.NONE, R.string.title_delete_permanently, order++, R.string.title_delete_permanently);
|
||||
|
||||
if (!result.isTrash && result.hasTrash && !result.isJunk) // not trash and has trash and not is junk
|
||||
popupMenu.getMenu().add(Menu.NONE, R.string.title_trash, order++, R.string.title_trash);
|
||||
|
@ -2954,7 +2954,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
} else if (itemId == R.string.title_archive) {
|
||||
onActionMoveSelection(EntityFolder.ARCHIVE);
|
||||
return true;
|
||||
} else if (itemId == R.string.title_delete) {
|
||||
} else if (itemId == R.string.title_delete_permanently) {
|
||||
onActionDeleteSelection();
|
||||
return true;
|
||||
} else if (itemId == R.string.title_trash) {
|
||||
|
|
Loading…
Reference in a new issue