mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 15:47:18 +02:00
Fix exception in settings
This commit is contained in:
parent
66695b2fc2
commit
f6a7a78be7
@ -10575,11 +10575,14 @@ function injectSettingsButton($parent) {
|
||||
|
||||
for (let settingId in SETTINGS_UI[groupLabel]) {
|
||||
// Don't render custom settings
|
||||
if (!settingId || settingId === 'undefined' || settingId.startsWith('_')) {
|
||||
if (!settingId || settingId === 'false' || settingId === 'undefined' || settingId.startsWith('_')) {
|
||||
continue;
|
||||
}
|
||||
|
||||
const setting = Preferences.SETTINGS[settingId];
|
||||
if (!setting) {
|
||||
continue;
|
||||
}
|
||||
|
||||
const settingLabel = SETTINGS_UI[groupLabel][settingId];
|
||||
const settingNote = setting.note;
|
||||
|
Loading…
x
Reference in New Issue
Block a user