mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 18:02:15 -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 =
|
||||
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(
|
||||
new V(1, new StringSetting("Archive"))
|
||||
));
|
||||
|
@ -20,6 +20,11 @@ public class FolderSettings {
|
||||
Map<String, TreeMap<Integer, SettingsDescription>> s =
|
||||
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(
|
||||
new V(1, new EnumSetting(FolderClass.class, FolderClass.NO_CLASS))
|
||||
));
|
||||
|
@ -26,6 +26,11 @@ public class GlobalSettings {
|
||||
Map<String, TreeMap<Integer, SettingsDescription>> s =
|
||||
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(
|
||||
new V(1, new BooleanSetting(false))
|
||||
));
|
||||
|
@ -22,6 +22,11 @@ public class IdentitySettings {
|
||||
Map<String, TreeMap<Integer, SettingsDescription>> s =
|
||||
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(
|
||||
new V(1, new SignatureSetting())
|
||||
));
|
||||
|
Loading…
Reference in New Issue
Block a user