1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-24 23:12:55 +00:00

Simplification

This commit is contained in:
M66B 2022-06-18 07:30:22 +02:00
parent 5cc4eed2db
commit 7a42d67767

View file

@ -400,11 +400,10 @@ public class AdapterAccount extends RecyclerView.Adapter<AdapterAccount.ViewHold
if (account.protocol == EntityAccount.TYPE_IMAP && settings) if (account.protocol == EntityAccount.TYPE_IMAP && settings)
popupMenu.getMenu().add(Menu.NONE, R.string.title_copy, order++, R.string.title_copy); popupMenu.getMenu().add(Menu.NONE, R.string.title_copy, order++, R.string.title_copy);
if (settings) if (settings) {
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 (settings)
popupMenu.getMenu().add(Menu.NONE, R.string.title_log, order++, R.string.title_log); popupMenu.getMenu().add(Menu.NONE, R.string.title_log, order++, R.string.title_log);
}
if (debug) if (debug)
popupMenu.getMenu().add(Menu.NONE, R.string.title_reset, order++, R.string.title_reset); popupMenu.getMenu().add(Menu.NONE, R.string.title_reset, order++, R.string.title_reset);