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

Fix settings file versioning

This commit is contained in:
cketti 2013-04-16 01:21:26 +02:00
parent 3d884a8f1c
commit d29825fe57
2 changed files with 3 additions and 2 deletions

View File

@ -136,7 +136,8 @@ public class GlobalSettings {
new V(1, new BooleanSetting(true))
));
s.put("messageListCheckboxes", Settings.versions(
new V(1, new BooleanSetting(true))
new V(1, new BooleanSetting(false)),
new V(27, new BooleanSetting(true))
));
s.put("messageListPreviewLines", Settings.versions(
new V(1, new IntegerRangeSetting(1, 100, 2))

View File

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