Prevent moving junk to junk

This commit is contained in:
M66B 2019-01-28 16:59:31 +00:00
parent 696073c909
commit 295ea0dcc2
1 changed files with 2 additions and 1 deletions

View File

@ -1892,7 +1892,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
popupMenu.getMenu().findItem(R.id.menu_unseen).setEnabled(data.message.uid != null);
popupMenu.getMenu().findItem(R.id.menu_junk).setEnabled(data.message.uid != null);
popupMenu.getMenu().findItem(R.id.menu_junk).setVisible(data.hasJunk);
popupMenu.getMenu().findItem(R.id.menu_junk).setVisible(
data.hasJunk && !EntityFolder.JUNK.equals(data.message.folderType));
popupMenu.getMenu().findItem(R.id.menu_delete).setVisible(debug);