1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04: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:
Bao-Long Nguyen-Trong 2009-06-06 15:42:33 +00:00
parent 913604f385
commit 5e28b65c76
2 changed files with 4 additions and 1 deletions

View File

@ -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>() {

View File

@ -413,6 +413,9 @@ public class FolderList extends K9ListActivity {
if (mInitialFolder == null) {
mInitialFolder = mAccount.getAutoExpandFolderName();
if (Email.FOLDER_NONE.equals(mInitialFolder)) {
mInitialFolder = null;
}
}
}