mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 11:42:16 -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
94301e7e3b
commit
cbddf960b1
@ -973,6 +973,7 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme
|
||||
menu.findItem(R.id.previous_message).setVisible(false);
|
||||
menu.findItem(R.id.single_message_options).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.move).setVisible(false);
|
||||
menu.findItem(R.id.copy).setVisible(false);
|
||||
@ -1091,6 +1092,7 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme
|
||||
} else {
|
||||
menu.findItem(R.id.set_sort).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(
|
||||
mMessageListFragment.isMarkAllAsReadSupported());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user