1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-30 13:12:25 -05:00

Add setting for contact pictures to import/export code

This commit is contained in:
cketti 2013-02-08 15:41:14 +01:00
parent c27a5a8104
commit d86dd3a4e7
2 changed files with 4 additions and 1 deletions

View File

@ -241,6 +241,9 @@ public class GlobalSettings {
s.put("fixedMessageViewTheme", Settings.versions( s.put("fixedMessageViewTheme", Settings.versions(
new V(24, new BooleanSetting(true)) new V(24, new BooleanSetting(true))
)); ));
s.put("showContactPicture", Settings.versions(
new V(25, new BooleanSetting(true))
));
SETTINGS = Collections.unmodifiableMap(s); SETTINGS = Collections.unmodifiableMap(s);

View File

@ -35,7 +35,7 @@ public class Settings {
* *
* @see SettingsExporter * @see SettingsExporter
*/ */
public static final int VERSION = 24; public static final int VERSION = 25;
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,