Allow POP3 mark as unread

This commit is contained in:
M66B 2019-09-29 12:03:29 +02:00
parent 2cc701f481
commit dc05bae98a
1 changed files with 2 additions and 2 deletions

View File

@ -2449,8 +2449,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
popupMenu.getMenu().findItem(R.id.menu_editasnew).setEnabled(message.content); popupMenu.getMenu().findItem(R.id.menu_editasnew).setEnabled(message.content);
popupMenu.getMenu().findItem(R.id.menu_unseen).setTitle(message.ui_seen ? R.string.title_unseen : R.string.title_seen); popupMenu.getMenu().findItem(R.id.menu_unseen).setTitle(message.ui_seen ? R.string.title_unseen : R.string.title_seen);
popupMenu.getMenu().findItem(R.id.menu_unseen).setEnabled(message.uid != null && !message.folderReadOnly); popupMenu.getMenu().findItem(R.id.menu_unseen).setEnabled(
popupMenu.getMenu().findItem(R.id.menu_unseen).setVisible(!message.accountPop); (message.uid != null && !message.folderReadOnly) || message.accountPop);
popupMenu.getMenu().findItem(R.id.menu_flag_color).setEnabled( popupMenu.getMenu().findItem(R.id.menu_flag_color).setEnabled(
(message.uid != null && !message.folderReadOnly) || message.accountPop); (message.uid != null && !message.folderReadOnly) || message.accountPop);