1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-26 09:38:52 -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
public boolean onNavigationItemSelected(int itemPosition, long itemId) {
if (itemId == ActionBarNavigationSpinner.AB_NAVIGATION_INBOX) {
onOpenFolder("INBOX");
onOpenFolder(mAccount.getInboxFolderName());
return true;
} else if (itemId == ActionBarNavigationSpinner.AB_NAVIGATION_ACCOUNTS) {
onAccounts();