mirror of https://github.com/vector-im/riot-web
Merge pull request #5391 from su-ex/fix-inverted-settings-default
Fix inverted settings default valuepull/21833/head
commit
f5ce50a472
|
@ -42,7 +42,7 @@ for (const key of Object.keys(SETTINGS)) {
|
|||
if (SETTINGS[key].invertedSettingName) {
|
||||
// Invert now so that the rest of the system will invert it back
|
||||
// to what was intended.
|
||||
invertedDefaultSettings[key] = !SETTINGS[key].default;
|
||||
invertedDefaultSettings[SETTINGS[key].invertedSettingName] = !SETTINGS[key].default;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue