mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
feat(phone/settings): Schema validation & Reset Settings
You can now reset your settings to default using the action in the Settings App Setting schema validation has been added that will temporarily reset to default settings if the JSON string contains unexpected values. A alert will pop up informing the user that they should reset to default settings using the action in the settings app, as a permanent solution.
This commit is contained in:
1 parent
97c308f550
commit
2a4457b323
6 files changed
+157
-29
No files matched your search
@@ -3,13 +3,20 @@
|
||||
"DATE_FORMAT": "MM/DD/YYYY",
|
||||
"DATE_TIME_FORMAT": "MM/DD/YYYY hh:mm A",
|
||||
"SETTINGS": {
|
||||
"CATEGORY": {
|
||||
"APPEARANCE": "Appearance",
|
||||
"PHONE": "Phone"
|
||||
},
|
||||
"OPTIONS": {
|
||||
"LANGUAGE": "Language"
|
||||
}
|
||||
"CATEGORY": {
|
||||
"APPEARANCE": "Appearance",
|
||||
"PHONE": "Phone",
|
||||
"ACTIONS": "Actions"
|
||||
},
|
||||
"OPTIONS": {
|
||||
"LANGUAGE": "Language",
|
||||
"RESET_SETTINGS": "Reset Settings",
|
||||
"RESET_SETTINGS_DESC": "This will clear your locally stored data"
|
||||
},
|
||||
"MESSAGES": {
|
||||
"INVALID_SETTINGS": "Invalid stored settings! Please reset in the Settings App.",
|
||||
"SETTINGS_RESET": "Settings have been reset!"
|
||||
}
|
||||
},
|
||||
"RELATIVE_TIME": {
|
||||
"future": "in %s",
|
||||
|
||||
Reference in new issue
Block a user