Update better-xcloud.user.js

This commit is contained in:
redphx 2024-08-25 10:08:03 +07:00 committed by GitHub
parent 366c7c8ea4
commit a1b6fc111c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4869,13 +4869,7 @@ class SettingsNavigationDialog extends NavigationDialog {
}
}
let recommendedDevice = "";
if (BX_FLAGS.DeviceInfo = {
deviceType: "android",
androidInfo: {
osVersion: 14,
board: "kalama"
}
}, BX_FLAGS.DeviceInfo.deviceType.includes("android")) {
if (BX_FLAGS.DeviceInfo.deviceType.includes("android")) {
if ($btnSuggest.disabled = !0, BX_FLAGS.DeviceInfo.androidInfo) {
const deviceCode = BX_FLAGS.DeviceInfo.androidInfo.board;
recommendedDevice = await this.getRecommendedSettings(deviceCode);