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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue