Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Fix issue that caused the value of certain settings to be inverted #6896

Merged
merged 4 commits into from
Oct 7, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/settings/SettingsStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ export default class SettingsStore {

const localizedCallback = (changedInRoomId, atLevel, newValAtLevel) => {
const newValue = SettingsStore.getValue(originalSettingName);
newValAtLevel = SettingsStore.getValueAt(atLevel, originalSettingName);
callbackFn(originalSettingName, changedInRoomId, atLevel, newValAtLevel, newValue);
};

Expand Down