1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 19:52:17 -05:00

Fixed issue 560: This was happening only when the user has only one account

This commit is contained in:
Bao-Long Nguyen-Trong 2009-09-10 17:31:11 +00:00
parent 080b2e1531
commit 736d330e38

View File

@ -391,9 +391,6 @@ public class FolderList extends K9ListActivity {
if (mInitialFolder == null
&& mStartup) {
mInitialFolder = mAccount.getAutoExpandFolderName();
if (Email.FOLDER_NONE.equals(mInitialFolder)) {
mInitialFolder = null;
}
}
}
else {
@ -401,7 +398,8 @@ public class FolderList extends K9ListActivity {
}
Log.v(Email.LOG_TAG, "mInitialFolder: " + mInitialFolder);
if (mInitialFolder != null) {
if (mInitialFolder != null
&& !Email.FOLDER_NONE.equals(mInitialFolder)) {
onOpenFolder(mInitialFolder, true);
finish();
}