mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 02:12:15 -05:00
Fixed issue 560: This was happening only when the user has only one account
This commit is contained in:
parent
080b2e1531
commit
736d330e38
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user