mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 20:26:19 +02:00
Fix inverted settings default value
Currently it doesn't matter what's set in the default property once the invertedSettingName property exists
This commit is contained in:
parent
dbf2394668
commit
20f3ab0293
@ -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…
x
Reference in New Issue
Block a user