From d86dd3a4e72d89a057a46ec51fe4e9c19fb596b7 Mon Sep 17 00:00:00 2001 From: cketti Date: Fri, 8 Feb 2013 15:41:14 +0100 Subject: [PATCH] Add setting for contact pictures to import/export code --- src/com/fsck/k9/preferences/GlobalSettings.java | 3 +++ src/com/fsck/k9/preferences/Settings.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/com/fsck/k9/preferences/GlobalSettings.java b/src/com/fsck/k9/preferences/GlobalSettings.java index fea82c57e..ac1f07450 100644 --- a/src/com/fsck/k9/preferences/GlobalSettings.java +++ b/src/com/fsck/k9/preferences/GlobalSettings.java @@ -241,6 +241,9 @@ public class GlobalSettings { s.put("fixedMessageViewTheme", Settings.versions( new V(24, new BooleanSetting(true)) )); + s.put("showContactPicture", Settings.versions( + new V(25, new BooleanSetting(true)) + )); SETTINGS = Collections.unmodifiableMap(s); diff --git a/src/com/fsck/k9/preferences/Settings.java b/src/com/fsck/k9/preferences/Settings.java index 053d81ddc..df196332f 100644 --- a/src/com/fsck/k9/preferences/Settings.java +++ b/src/com/fsck/k9/preferences/Settings.java @@ -35,7 +35,7 @@ public class Settings { * * @see SettingsExporter */ - public static final int VERSION = 24; + public static final int VERSION = 25; public static Map validate(int version, Map> settings,