mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 23:12:55 +00:00
Simplification
This commit is contained in:
parent
5cc4eed2db
commit
7a42d67767
1 changed files with 2 additions and 3 deletions
|
@ -400,11 +400,10 @@ public class AdapterAccount extends RecyclerView.Adapter<AdapterAccount.ViewHold
|
|||
if (account.protocol == EntityAccount.TYPE_IMAP && settings)
|
||||
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);
|
||||
|
||||
if (settings)
|
||||
popupMenu.getMenu().add(Menu.NONE, R.string.title_log, order++, R.string.title_log);
|
||||
}
|
||||
|
||||
if (debug)
|
||||
popupMenu.getMenu().add(Menu.NONE, R.string.title_reset, order++, R.string.title_reset);
|
||||
|
|
Loading…
Reference in a new issue