mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-03 06:07:19 +02:00
Don't show Shortcut button on Android TV
This commit is contained in:
parent
cf4609d87b
commit
07b2e47757
2
dist/better-xcloud.user.js
vendored
2
dist/better-xcloud.user.js
vendored
@ -8927,7 +8927,7 @@ class ProductDetailsPage {
|
||||
let $container = document.querySelector("div[class*=ActionButtons-module__container]");
|
||||
if ($container && $container.parentElement) $container.parentElement.appendChild(CE("div", {
|
||||
class: "bx-product-details-buttons"
|
||||
}, BX_FLAGS.DeviceInfo.deviceType.startsWith("android") && ProductDetailsPage.$btnShortcut, ProductDetailsPage.$btnWallpaper));
|
||||
}, ["android-handheld", "android"].includes(BX_FLAGS.DeviceInfo.deviceType) && ProductDetailsPage.$btnShortcut, ProductDetailsPage.$btnWallpaper));
|
||||
}, 500);
|
||||
}
|
||||
}
|
||||
|
@ -40,7 +40,7 @@ export class ProductDetailsPage {
|
||||
$container.parentElement.appendChild(CE('div', {
|
||||
class: 'bx-product-details-buttons',
|
||||
},
|
||||
BX_FLAGS.DeviceInfo.deviceType.startsWith('android') && ProductDetailsPage.$btnShortcut,
|
||||
['android-handheld', 'android'].includes(BX_FLAGS.DeviceInfo.deviceType) && ProductDetailsPage.$btnShortcut,
|
||||
ProductDetailsPage.$btnWallpaper,
|
||||
));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user