mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-07 13:48:27 +02:00
Fix the Shortcut button not showing in product page
This commit is contained in:
2
dist/better-xcloud.user.js
vendored
2
dist/better-xcloud.user.js
vendored
@@ -8896,7 +8896,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 === "android" && ProductDetailsPage.$btnShortcut, ProductDetailsPage.$btnWallpaper));
|
||||
}, BX_FLAGS.DeviceInfo.deviceType.startsWith("android") && ProductDetailsPage.$btnShortcut, ProductDetailsPage.$btnWallpaper));
|
||||
}, 500);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user