|
|
@ -357,10 +357,10 @@ public class FragmentMessage extends FragmentEx { |
|
|
|
top_navigation.getMenu().findItem(R.id.action_reply_all).setVisible(!inOutbox && message.cc != null); |
|
|
|
top_navigation.setVisibility(View.VISIBLE); |
|
|
|
|
|
|
|
bottom_navigation.getMenu().findItem(R.id.action_spam).setVisible(!inOutbox && !inArchive && !inJunk && hasJunk); |
|
|
|
bottom_navigation.getMenu().findItem(R.id.action_trash).setVisible(!inOutbox && hasTrash); |
|
|
|
bottom_navigation.getMenu().findItem(R.id.action_move).setVisible(!inOutbox && (!inInbox || hasUser)); |
|
|
|
bottom_navigation.getMenu().findItem(R.id.action_archive).setVisible(!inOutbox && !inArchive && hasArchive); |
|
|
|
bottom_navigation.getMenu().findItem(R.id.action_spam).setVisible(message.uid != null && !inOutbox && !inArchive && !inJunk && hasJunk); |
|
|
|
bottom_navigation.getMenu().findItem(R.id.action_trash).setVisible(message.uid != null && !inOutbox && hasTrash); |
|
|
|
bottom_navigation.getMenu().findItem(R.id.action_move).setVisible(message.uid != null && !inOutbox && (!inInbox || hasUser)); |
|
|
|
bottom_navigation.getMenu().findItem(R.id.action_archive).setVisible(message.uid != null && !inOutbox && !inArchive && hasArchive); |
|
|
|
bottom_navigation.getMenu().findItem(R.id.action_reply).setVisible(!inOutbox); |
|
|
|
bottom_navigation.setVisibility(View.VISIBLE); |
|
|
|
} |
|
|
|