mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 11:42:16 -05:00
Add comment about increment settings version.
This commit is contained in:
parent
2124d8ecaf
commit
1c4a3c355c
@ -25,6 +25,11 @@ public class AccountSettings {
|
|||||||
Map<String, TreeMap<Integer, SettingsDescription>> s =
|
Map<String, TreeMap<Integer, SettingsDescription>> s =
|
||||||
new LinkedHashMap<String, TreeMap<Integer, SettingsDescription>>();
|
new LinkedHashMap<String, TreeMap<Integer, SettingsDescription>>();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* When adding new settings here, be sure to increment {@link Settings.VERSION}
|
||||||
|
* and use that for whatever you add here.
|
||||||
|
*/
|
||||||
|
|
||||||
s.put("archiveFolderName", Settings.versions(
|
s.put("archiveFolderName", Settings.versions(
|
||||||
new V(1, new StringSetting("Archive"))
|
new V(1, new StringSetting("Archive"))
|
||||||
));
|
));
|
||||||
|
@ -20,6 +20,11 @@ public class FolderSettings {
|
|||||||
Map<String, TreeMap<Integer, SettingsDescription>> s =
|
Map<String, TreeMap<Integer, SettingsDescription>> s =
|
||||||
new LinkedHashMap<String, TreeMap<Integer, SettingsDescription>>();
|
new LinkedHashMap<String, TreeMap<Integer, SettingsDescription>>();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* When adding new settings here, be sure to increment {@link Settings.VERSION}
|
||||||
|
* and use that for whatever you add here.
|
||||||
|
*/
|
||||||
|
|
||||||
s.put("displayMode", Settings.versions(
|
s.put("displayMode", Settings.versions(
|
||||||
new V(1, new EnumSetting(FolderClass.class, FolderClass.NO_CLASS))
|
new V(1, new EnumSetting(FolderClass.class, FolderClass.NO_CLASS))
|
||||||
));
|
));
|
||||||
|
@ -26,6 +26,11 @@ public class GlobalSettings {
|
|||||||
Map<String, TreeMap<Integer, SettingsDescription>> s =
|
Map<String, TreeMap<Integer, SettingsDescription>> s =
|
||||||
new LinkedHashMap<String, TreeMap<Integer, SettingsDescription>>();
|
new LinkedHashMap<String, TreeMap<Integer, SettingsDescription>>();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* When adding new settings here, be sure to increment {@link Settings.VERSION}
|
||||||
|
* and use that for whatever you add here.
|
||||||
|
*/
|
||||||
|
|
||||||
s.put("animations", Settings.versions(
|
s.put("animations", Settings.versions(
|
||||||
new V(1, new BooleanSetting(false))
|
new V(1, new BooleanSetting(false))
|
||||||
));
|
));
|
||||||
|
@ -22,6 +22,11 @@ public class IdentitySettings {
|
|||||||
Map<String, TreeMap<Integer, SettingsDescription>> s =
|
Map<String, TreeMap<Integer, SettingsDescription>> s =
|
||||||
new LinkedHashMap<String, TreeMap<Integer, SettingsDescription>>();
|
new LinkedHashMap<String, TreeMap<Integer, SettingsDescription>>();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* When adding new settings here, be sure to increment {@link Settings.VERSION}
|
||||||
|
* and use that for whatever you add here.
|
||||||
|
*/
|
||||||
|
|
||||||
s.put("signature", Settings.versions(
|
s.put("signature", Settings.versions(
|
||||||
new V(1, new SignatureSetting())
|
new V(1, new SignatureSetting())
|
||||||
));
|
));
|
||||||
|
Loading…
Reference in New Issue
Block a user