mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-10 13:18:09 -05:00
Should disable COMPOSE menu item
When message viewing and tap the next icon, menu icons (previous, next, delete and replys) disappears for an instant. But a compose icon remains, then tap it accidentally.
This commit is contained in:
parent
5d130b2de1
commit
25c3c635fc
@ -973,6 +973,7 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme
|
|||||||
menu.findItem(R.id.previous_message).setVisible(false);
|
menu.findItem(R.id.previous_message).setVisible(false);
|
||||||
menu.findItem(R.id.single_message_options).setVisible(false);
|
menu.findItem(R.id.single_message_options).setVisible(false);
|
||||||
menu.findItem(R.id.delete).setVisible(false);
|
menu.findItem(R.id.delete).setVisible(false);
|
||||||
|
menu.findItem(R.id.compose).setVisible(false);
|
||||||
menu.findItem(R.id.archive).setVisible(false);
|
menu.findItem(R.id.archive).setVisible(false);
|
||||||
menu.findItem(R.id.move).setVisible(false);
|
menu.findItem(R.id.move).setVisible(false);
|
||||||
menu.findItem(R.id.copy).setVisible(false);
|
menu.findItem(R.id.copy).setVisible(false);
|
||||||
@ -1091,6 +1092,7 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme
|
|||||||
} else {
|
} else {
|
||||||
menu.findItem(R.id.set_sort).setVisible(true);
|
menu.findItem(R.id.set_sort).setVisible(true);
|
||||||
menu.findItem(R.id.select_all).setVisible(true);
|
menu.findItem(R.id.select_all).setVisible(true);
|
||||||
|
menu.findItem(R.id.compose).setVisible(true);
|
||||||
menu.findItem(R.id.mark_all_as_read).setVisible(
|
menu.findItem(R.id.mark_all_as_read).setVisible(
|
||||||
mMessageListFragment.isMarkAllAsReadSupported());
|
mMessageListFragment.isMarkAllAsReadSupported());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user