Account log from settings only

This commit is contained in:
M66B 2021-10-27 08:03:26 +02:00
parent 6bbab65072
commit b6359b0485
1 changed files with 2 additions and 1 deletions

View File

@ -378,7 +378,8 @@ public class AdapterAccount extends RecyclerView.Adapter<AdapterAccount.ViewHold
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);
popupMenu.getMenu().add(Menu.NONE, R.string.title_log, order++, R.string.title_log); if (settings)
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);