Merge pull request #2127 from k9mail/global-setting-pgpSignOnlyDialogCounter
Add missing pgpSignOnlyDialogCounter to GlobalSettings
This commit is contained in:
commit
cd0075a77a
2 changed files with 4 additions and 1 deletions
|
@ -279,6 +279,9 @@ public class GlobalSettings {
|
||||||
s.put("pgpInlineDialogCounter", Settings.versions(
|
s.put("pgpInlineDialogCounter", Settings.versions(
|
||||||
new V(43, new IntegerRangeSetting(0, Integer.MAX_VALUE, 0))
|
new V(43, new IntegerRangeSetting(0, Integer.MAX_VALUE, 0))
|
||||||
));
|
));
|
||||||
|
s.put("pgpSignOnlyDialogCounter", Settings.versions(
|
||||||
|
new V(45, new IntegerRangeSetting(0, Integer.MAX_VALUE, 0))
|
||||||
|
));
|
||||||
|
|
||||||
SETTINGS = Collections.unmodifiableMap(s);
|
SETTINGS = Collections.unmodifiableMap(s);
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ public class Settings {
|
||||||
*
|
*
|
||||||
* @see SettingsExporter
|
* @see SettingsExporter
|
||||||
*/
|
*/
|
||||||
public static final int VERSION = 44;
|
public static final int VERSION = 45;
|
||||||
|
|
||||||
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 a new issue