mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 02:12:15 -05:00
Fixed version number for added settings
This commit is contained in:
parent
85da3d8667
commit
24c172add0
@ -161,10 +161,10 @@ public class AccountSettings {
|
|||||||
new V(1, new StringSetting("Sent"))
|
new V(1, new StringSetting("Sent"))
|
||||||
));
|
));
|
||||||
s.put("sortTypeEnum", Settings.versions(
|
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(
|
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(
|
s.put("showPicturesEnum", Settings.versions(
|
||||||
new V(1, new EnumSetting(Account.ShowPictures.class, Account.ShowPictures.NEVER))
|
new V(1, new EnumSetting(Account.ShowPictures.class, Account.ShowPictures.NEVER))
|
||||||
|
@ -35,7 +35,7 @@ public class Settings {
|
|||||||
*
|
*
|
||||||
* @see SettingsExporter
|
* @see SettingsExporter
|
||||||
*/
|
*/
|
||||||
public static final int VERSION = 8;
|
public static final int VERSION = 9;
|
||||||
|
|
||||||
public static Map<String, Object> validate(int version, Map<String,
|
public static Map<String, Object> validate(int version, Map<String,
|
||||||
TreeMap<Integer, SettingsDescription>> settings,
|
TreeMap<Integer, SettingsDescription>> settings,
|
||||||
|
Loading…
Reference in New Issue
Block a user