Browse Source

Prevent spam/archive for messages in outbox

main
M66B 6 years ago
parent
commit
bb63ef2cfa
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/src/main/java/eu/faircode/email/FragmentMessage.java

+ 2
- 0
app/src/main/java/eu/faircode/email/FragmentMessage.java View File

@ -179,6 +179,8 @@ public class FragmentMessage extends Fragment {
: R.drawable.baseline_visibility_24);
actionSeen.setTitle(message.ui_seen ? R.string.title_unseen : R.string.title_seen);
bottom_navigation.getMenu().findItem(R.id.action_spam).setEnabled(message.account != null);
bottom_navigation.getMenu().findItem(R.id.action_archive).setEnabled(message.account != null);
tvBody.setText(message.body == null
? null
: Html.fromHtml(HtmlHelper.sanitize(getContext(), message.body, false)));


Loading…
Cancel
Save