mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-11 20:15:03 -05:00
Fix display of folder settings and account settings menu entries
This commit is contained in:
parent
999dd33169
commit
411abbea64
@ -396,6 +396,10 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme
|
||||
onEditPrefs();
|
||||
return true;
|
||||
}
|
||||
case R.id.account_settings: {
|
||||
onEditAccount();
|
||||
return true;
|
||||
}
|
||||
case R.id.search: {
|
||||
mMessageListFragment.onSearchRequested();
|
||||
return true;
|
||||
@ -423,10 +427,6 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme
|
||||
}
|
||||
return true;
|
||||
}
|
||||
case R.id.account_settings: {
|
||||
onEditAccount();
|
||||
return true;
|
||||
}
|
||||
case R.id.expunge: {
|
||||
mMessageListFragment.onExpunge();
|
||||
return true;
|
||||
@ -478,7 +478,7 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme
|
||||
menu.findItem(R.id.folder_settings).setVisible(false);
|
||||
menu.findItem(R.id.account_settings).setVisible(false);
|
||||
} else {
|
||||
menu.findItem(R.id.folder_settings).setVisible(true);
|
||||
menu.findItem(R.id.folder_settings).setVisible(mSingleFolderMode);
|
||||
menu.findItem(R.id.account_settings).setVisible(true);
|
||||
|
||||
if (mMessageListFragment.isOutbox()) {
|
||||
|
Loading…
Reference in New Issue
Block a user