mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-26 17:31:43 +02:00
Remove Battery option in unsupported browser
This commit is contained in:
4
dist/better-xcloud.lite.user.js
vendored
4
dist/better-xcloud.lite.user.js
vendored
@ -1667,6 +1667,10 @@ class GlobalSettingsStorage extends BaseSettingsStore {
|
||||
},
|
||||
params: {
|
||||
size: 6
|
||||
},
|
||||
ready: (setting) => {
|
||||
const multipleOptions = setting.multipleOptions;
|
||||
if (!STATES.browser.capabilities.batteryApi) delete multipleOptions["batt"];
|
||||
}
|
||||
},
|
||||
stats_show_when_playing: {
|
||||
|
Reference in New Issue
Block a user