Revert "feat(phone/settings): Add localStorage settings schema validation (#139)"

This reverts commit cb5a00e57e.
Reverted due a non-descript bug in CEF. Will be reapplied after fix.
This commit is contained in:
Taso committed 2021-03-05 12:38:22 -05:00
1 parent da5694863a
commit 6419245d93
10 files changed
+43 -136

No files matched your search

+2 -2
View File
@@ -17,11 +17,11 @@ export const getSoundSettings = (
try {
return app
? {
sound: getPath[type](settings[`${app}_${type}`]?.value || settings[type]?.value),
sound: getPath[type](settings[`${app}_${type}`].value || settings[type].value),
volume: (settings[`${app}_${type}Vol`] || settings[`${type}Vol`]) / 100,
}
: {
sound: getPath[type](settings[type as string]?.value),
sound: getPath[type](settings[type as string].value),
volume: settings[`${type}Vol`] / 100,
};
} catch (e) {