Small fix

This commit is contained in:
M66B 2019-08-03 14:26:36 +02:00
parent 16942e2487
commit a4d212fa6d
1 changed files with 1 additions and 1 deletions

View File

@ -787,6 +787,7 @@ public class FragmentCompose extends FragmentBase {
menu.findItem(R.id.menu_send_after).setVisible(state == State.LOADED); menu.findItem(R.id.menu_send_after).setVisible(state == State.LOADED);
menu.findItem(R.id.menu_zoom).setEnabled(!busy); menu.findItem(R.id.menu_zoom).setEnabled(!busy);
menu.findItem(R.id.menu_media_toolbar).setEnabled(!busy);
menu.findItem(R.id.menu_clear).setEnabled(!busy); menu.findItem(R.id.menu_clear).setEnabled(!busy);
menu.findItem(R.id.menu_contact_group).setEnabled(!busy && hasPermission(Manifest.permission.READ_CONTACTS)); menu.findItem(R.id.menu_contact_group).setEnabled(!busy && hasPermission(Manifest.permission.READ_CONTACTS));
menu.findItem(R.id.menu_answer).setEnabled(!busy); menu.findItem(R.id.menu_answer).setEnabled(!busy);
@ -795,7 +796,6 @@ public class FragmentCompose extends FragmentBase {
menu.findItem(R.id.menu_send_after).setEnabled(!busy); menu.findItem(R.id.menu_send_after).setEnabled(!busy);
menu.findItem(R.id.menu_media_toolbar).setChecked(style); menu.findItem(R.id.menu_media_toolbar).setChecked(style);
menu.findItem(R.id.menu_plain_only).setChecked(plain_only); menu.findItem(R.id.menu_plain_only).setChecked(plain_only);
menu.findItem(R.id.menu_encrypt).setChecked(encrypt); menu.findItem(R.id.menu_encrypt).setChecked(encrypt);