Enable batch delete when not trash folder

This commit is contained in:
M66B 2020-01-08 18:01:12 +01:00
parent 8cdf6db1a0
commit ba127e9e1d
1 changed files with 1 additions and 1 deletions

View File

@ -1974,7 +1974,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
if (result.hasArchive && !result.isArchive) // has archive and not is archive/drafts if (result.hasArchive && !result.isArchive) // has archive and not is archive/drafts
popupMenu.getMenu().add(Menu.NONE, R.string.title_archive, order++, R.string.title_archive); popupMenu.getMenu().add(Menu.NONE, R.string.title_archive, order++, R.string.title_archive);
if (result.isTrash) // is trash if (result.isTrash || !result.hasTrash) // is trash or no trash
popupMenu.getMenu().add(Menu.NONE, R.string.title_delete, order++, R.string.title_delete); popupMenu.getMenu().add(Menu.NONE, R.string.title_delete, order++, R.string.title_delete);
if (!result.isTrash && result.hasTrash) // not trash and has trash if (!result.isTrash && result.hasTrash) // not trash and has trash