mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
feat(phone/settings): Add localStorage settings schema validation (#139)
Will reset to default settings if the schema is invalid.
This commit is contained in:
1 parent
60431d2de7
commit
cb5a00e57e
10 files changed
+136
-43
No files matched your search
@@ -35,7 +35,7 @@ export const SettingsApp = () => {
|
||||
const settingsApp = useApp('SETTINGS');
|
||||
const [config] = useConfig();
|
||||
const simcard = useSimcard();
|
||||
const [settings, setSettings] = useSettings();
|
||||
const { settings, setSettings } = useSettings();
|
||||
const { t } = useTranslation();
|
||||
// TODO: Uncomment when #135 is merged
|
||||
// const { addAlert } = useSnackbar();
|
||||
|
||||
Reference in new issue
Block a user