|
@ -246,8 +246,8 @@ public class FragmentMessage extends Fragment { |
|
|
: R.drawable.baseline_visibility_24); |
|
|
: R.drawable.baseline_visibility_24); |
|
|
actionSeen.setTitle(message.ui_seen ? R.string.title_unseen : R.string.title_seen); |
|
|
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); |
|
|
|
|
|
|
|
|
bottom_navigation.getMenu().findItem(R.id.action_spam).setVisible(message.account != null); |
|
|
|
|
|
bottom_navigation.getMenu().findItem(R.id.action_archive).setVisible(message.account != null); |
|
|
tvBody.setText(message.body == null |
|
|
tvBody.setText(message.body == null |
|
|
? null |
|
|
? null |
|
|
: Html.fromHtml(HtmlHelper.sanitize(getContext(), message.body, false))); |
|
|
: Html.fromHtml(HtmlHelper.sanitize(getContext(), message.body, false))); |
|
|