mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-26 01:28:50 -05:00
Updated settings description with new default values (import/export)
This commit is contained in:
parent
06175888b9
commit
7e8aede93d
@ -114,7 +114,8 @@ public class GlobalSettings {
|
|||||||
new V(1, new FontSizeSetting(FontSizes.FONT_12DIP))
|
new V(1, new FontSizeSetting(FontSizes.FONT_12DIP))
|
||||||
));
|
));
|
||||||
s.put("gesturesEnabled", Settings.versions(
|
s.put("gesturesEnabled", Settings.versions(
|
||||||
new V(1, new BooleanSetting(true))
|
new V(1, new BooleanSetting(true)),
|
||||||
|
new V(4, new BooleanSetting(false))
|
||||||
));
|
));
|
||||||
s.put("hideSpecialAccounts", Settings.versions(
|
s.put("hideSpecialAccounts", Settings.versions(
|
||||||
new V(1, new BooleanSetting(false))
|
new V(1, new BooleanSetting(false))
|
||||||
@ -189,7 +190,8 @@ public class GlobalSettings {
|
|||||||
new V(1, new BooleanSetting(false))
|
new V(1, new BooleanSetting(false))
|
||||||
));
|
));
|
||||||
s.put("zoomControlsEnabled", Settings.versions(
|
s.put("zoomControlsEnabled", Settings.versions(
|
||||||
new V(1, new BooleanSetting(false))
|
new V(1, new BooleanSetting(false)),
|
||||||
|
new V(4, new BooleanSetting(true))
|
||||||
));
|
));
|
||||||
|
|
||||||
SETTINGS = Collections.unmodifiableMap(s);
|
SETTINGS = Collections.unmodifiableMap(s);
|
||||||
|
@ -34,7 +34,7 @@ public class Settings {
|
|||||||
*
|
*
|
||||||
* @see SettingsExporter
|
* @see SettingsExporter
|
||||||
*/
|
*/
|
||||||
public static final int VERSION = 3;
|
public static final int VERSION = 4;
|
||||||
|
|
||||||
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