mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-22 07:42:52 +00:00
Prevent spam/archive for messages in outbox
This commit is contained in:
parent
7feac257d1
commit
bb63ef2cfa
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue