1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 11:42:16 -05:00

Fixed version number for added settings

This commit is contained in:
cketti 2012-04-08 23:13:55 +02:00
parent 85da3d8667
commit 24c172add0
2 changed files with 3 additions and 3 deletions

View File

@ -161,10 +161,10 @@ public class AccountSettings {
new V(1, new StringSetting("Sent"))
));
s.put("sortTypeEnum", Settings.versions(
new V(1, new EnumSetting(SORT_TYPE.class, Account.DEFAULT_SORT_TYPE))
new V(9, new EnumSetting(SORT_TYPE.class, Account.DEFAULT_SORT_TYPE))
));
s.put("sortAscending", Settings.versions(
new V(1, new BooleanSetting(Account.DEFAULT_SORT_ASCENDING))
new V(9, new BooleanSetting(Account.DEFAULT_SORT_ASCENDING))
));
s.put("showPicturesEnum", Settings.versions(
new V(1, new EnumSetting(Account.ShowPictures.class, Account.ShowPictures.NEVER))

View File

@ -35,7 +35,7 @@ public class Settings {
*
* @see SettingsExporter
*/
public static final int VERSION = 8;
public static final int VERSION = 9;
public static Map<String, Object> validate(int version, Map<String,
TreeMap<Integer, SettingsDescription>> settings,