mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 19:52:17 -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)
|
if (showOptionNone)
|
||||||
{
|
{
|
||||||
localFolders.add("-NONE-");
|
localFolders.add(Email.FOLDER_NONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
Collections.sort(localFolders, new Comparator<String>() {
|
Collections.sort(localFolders, new Comparator<String>() {
|
||||||
|
@ -413,6 +413,9 @@ public class FolderList extends K9ListActivity {
|
|||||||
|
|
||||||
if (mInitialFolder == null) {
|
if (mInitialFolder == null) {
|
||||||
mInitialFolder = mAccount.getAutoExpandFolderName();
|
mInitialFolder = mAccount.getAutoExpandFolderName();
|
||||||
|
if (Email.FOLDER_NONE.equals(mInitialFolder)) {
|
||||||
|
mInitialFolder = null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user