diff --git a/src/settings/handlers/DeviceSettingsHandler.js b/src/settings/handlers/DeviceSettingsHandler.js index b5c4382768..780815efd1 100644 --- a/src/settings/handlers/DeviceSettingsHandler.js +++ b/src/settings/handlers/DeviceSettingsHandler.js @@ -122,7 +122,10 @@ export default class DeviceSettingsHandler extends SettingsHandler { } const value = localStorage.getItem("mx_labs_feature_" + featureName); - return value === "true"; + if (value === "true") return true; + if (value === "false") return false; + // Try to read the next config level for the feature. + return null; } _writeFeature(featureName, enabled) {