. Choosing '-NONE-' as default folder, was opening the MessageList of the '-NONE-' folder
--> It now opens, the FolderList TODO: Externalize the '-NONE-' string
This commit is contained in:
parent
913604f385
commit
5e28b65c76
2 changed files with 4 additions and 1 deletions
|
@ -237,7 +237,7 @@ public class ChooseFolder extends K9ListActivity
|
|||
|
||||
if (showOptionNone)
|
||||
{
|
||||
localFolders.add("-NONE-");
|
||||
localFolders.add(Email.FOLDER_NONE);
|
||||
}
|
||||
|
||||
Collections.sort(localFolders, new Comparator<String>() {
|
||||
|
|
|
@ -413,6 +413,9 @@ public class FolderList extends K9ListActivity {
|
|||
|
||||
if (mInitialFolder == null) {
|
||||
mInitialFolder = mAccount.getAutoExpandFolderName();
|
||||
if (Email.FOLDER_NONE.equals(mInitialFolder)) {
|
||||
mInitialFolder = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue