mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-12 22:28:10 -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();
|
onEditPrefs();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
case R.id.account_settings: {
|
||||||
|
onEditAccount();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
case R.id.search: {
|
case R.id.search: {
|
||||||
mMessageListFragment.onSearchRequested();
|
mMessageListFragment.onSearchRequested();
|
||||||
return true;
|
return true;
|
||||||
@ -423,10 +427,6 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme
|
|||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
case R.id.account_settings: {
|
|
||||||
onEditAccount();
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
case R.id.expunge: {
|
case R.id.expunge: {
|
||||||
mMessageListFragment.onExpunge();
|
mMessageListFragment.onExpunge();
|
||||||
return true;
|
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.folder_settings).setVisible(false);
|
||||||
menu.findItem(R.id.account_settings).setVisible(false);
|
menu.findItem(R.id.account_settings).setVisible(false);
|
||||||
} else {
|
} 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);
|
menu.findItem(R.id.account_settings).setVisible(true);
|
||||||
|
|
||||||
if (mMessageListFragment.isOutbox()) {
|
if (mMessageListFragment.isOutbox()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user