1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-25 09:08:49 -05:00

Fixed issue 2680

Should not set empty string in auto-expand folder list.
This commit is contained in:
Koji Arai 2010-11-21 13:25:21 +00:00
parent 3380cc8af4
commit 0206ebf809

View File

@ -586,7 +586,7 @@ public class AccountSettings extends K9PreferenceActivity
} }
final String[] allFolderValues = new String[folders.size()+2]; final String[] allFolderValues = new String[folders.size()+2];
final String[] allFolderLabels = new String[folders.size()+2]; final String[] allFolderLabels = new String[folders.size()+2];
allFolderValues[0] = ""; allFolderValues[0] = K9.FOLDER_NONE;
allFolderLabels[0] = K9.FOLDER_NONE; allFolderLabels[0] = K9.FOLDER_NONE;
// There's a non-zero chance that "outbox" won't actually exist, so we force it into the list // There's a non-zero chance that "outbox" won't actually exist, so we force it into the list