From cbddf960b1a0642b251e8301a5af8bd681abfc33 Mon Sep 17 00:00:00 2001 From: Koji Arai Date: Sat, 23 Nov 2013 09:00:41 +0900 Subject: [PATCH] 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. --- src/com/fsck/k9/activity/MessageList.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/fsck/k9/activity/MessageList.java b/src/com/fsck/k9/activity/MessageList.java index 21574ea4e..40395f480 100644 --- a/src/com/fsck/k9/activity/MessageList.java +++ b/src/com/fsck/k9/activity/MessageList.java @@ -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());