mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-11 12:05:06 -05:00
. 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
@ -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 New Issue
Block a user