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

Fix Settings version number for batch button preferences.

This commit is contained in:
Andrew Chen 2012-04-06 14:41:33 -07:00
parent b5856a7ac5
commit 12d1301056
2 changed files with 7 additions and 7 deletions

View File

@ -197,22 +197,22 @@ public class GlobalSettings {
new V(4, new BooleanSetting(true)) new V(4, new BooleanSetting(true))
)); ));
s.put("batchButtonsMarkRead", Settings.versions( s.put("batchButtonsMarkRead", Settings.versions(
new V(1, new BooleanSetting(true)) new V(8, new BooleanSetting(true))
)); ));
s.put("batchButtonsDelete", Settings.versions( s.put("batchButtonsDelete", Settings.versions(
new V(1, new BooleanSetting(true)) new V(8, new BooleanSetting(true))
)); ));
s.put("batchButtonsArchive", Settings.versions( s.put("batchButtonsArchive", Settings.versions(
new V(1, new BooleanSetting(false)) new V(8, new BooleanSetting(false))
)); ));
s.put("batchButtonsMove", Settings.versions( s.put("batchButtonsMove", Settings.versions(
new V(1, new BooleanSetting(false)) new V(8, new BooleanSetting(false))
)); ));
s.put("batchButtonsFlag", Settings.versions( s.put("batchButtonsFlag", Settings.versions(
new V(1, new BooleanSetting(true)) new V(8, new BooleanSetting(true))
)); ));
s.put("batchButtonsUnselect", Settings.versions( s.put("batchButtonsUnselect", Settings.versions(
new V(1, new BooleanSetting(true)) new V(8, 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 = 7; public static final int VERSION = 8;
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,