1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-01-14 07:08:00 -05:00

Make inbox item in navigation list more general.

This commit is contained in:
Sander Bogaert 2012-07-26 11:08:22 -04:00 committed by Andrew Chen
parent 0b89cdd0fc
commit b2289783a4

View File

@ -319,7 +319,7 @@ public class FolderList extends K9ListActivity implements OnNavigationListener {
@Override @Override
public boolean onNavigationItemSelected(int itemPosition, long itemId) { public boolean onNavigationItemSelected(int itemPosition, long itemId) {
if (itemId == ActionBarNavigationSpinner.AB_NAVIGATION_INBOX) { if (itemId == ActionBarNavigationSpinner.AB_NAVIGATION_INBOX) {
onOpenFolder("INBOX"); onOpenFolder(mAccount.getInboxFolderName());
return true; return true;
} else if (itemId == ActionBarNavigationSpinner.AB_NAVIGATION_ACCOUNTS) { } else if (itemId == ActionBarNavigationSpinner.AB_NAVIGATION_ACCOUNTS) {
onAccounts(); onAccounts();