mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 02:12:15 -05:00
Fix settings file versioning
This commit is contained in:
parent
3d884a8f1c
commit
d29825fe57
@ -136,7 +136,8 @@ public class GlobalSettings {
|
|||||||
new V(1, new BooleanSetting(true))
|
new V(1, new BooleanSetting(true))
|
||||||
));
|
));
|
||||||
s.put("messageListCheckboxes", Settings.versions(
|
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(
|
s.put("messageListPreviewLines", Settings.versions(
|
||||||
new V(1, new IntegerRangeSetting(1, 100, 2))
|
new V(1, new IntegerRangeSetting(1, 100, 2))
|
||||||
|
@ -35,7 +35,7 @@ public class Settings {
|
|||||||
*
|
*
|
||||||
* @see SettingsExporter
|
* @see SettingsExporter
|
||||||
*/
|
*/
|
||||||
public static final int VERSION = 26;
|
public static final int VERSION = 27;
|
||||||
|
|
||||||
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