mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 23:57:19 +02:00
Bug fixes
This commit is contained in:
parent
c13845ffe1
commit
9041f70dbd
@ -381,8 +381,8 @@ function setupStreamSettingsDialog() {
|
|||||||
$control = toPrefElement(pref, setting.onChange, setting.params);
|
$control = toPrefElement(pref, setting.onChange, setting.params);
|
||||||
}
|
}
|
||||||
|
|
||||||
const label = Preferences.SETTINGS[pref as PrefKey].label || setting.label;
|
const label = Preferences.SETTINGS[pref as PrefKey]?.label || setting.label;
|
||||||
const note = Preferences.SETTINGS[pref as PrefKey].note || setting.note;
|
const note = Preferences.SETTINGS[pref as PrefKey]?.note || setting.note;
|
||||||
|
|
||||||
const $content = CE('div', {'class': 'bx-stream-settings-row', 'data-type': settingGroup.group},
|
const $content = CE('div', {'class': 'bx-stream-settings-row', 'data-type': settingGroup.group},
|
||||||
CE('label', {for: `bx_setting_${pref}`},
|
CE('label', {for: `bx_setting_${pref}`},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user