From 4db25e8d62b8e5dcfc04bd5a8de370260dc8670c Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Sat, 1 Jun 2024 18:27:46 +0700 Subject: [PATCH] Don't show stream badges in the Guide menu until xCloud removes the Stream menu --- src/modules/stream/stream-badges.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/stream/stream-badges.ts b/src/modules/stream/stream-badges.ts index 72cb339..de2bb15 100644 --- a/src/modules/stream/stream-badges.ts +++ b/src/modules/stream/stream-badges.ts @@ -337,6 +337,9 @@ export class StreamBadges { } catch(e) {} }); + /* + Don't do this until xCloud remove the Stream Menu page + window.addEventListener(BxEvent.XCLOUD_GUIDE_SHOWN, async e => { const where = (e as any).where as XcloudGuideWhere; @@ -352,5 +355,6 @@ export class StreamBadges { // Add badges $btnQuit.insertAdjacentElement('beforebegin', await StreamBadges.getInstance().render()); }); + */ } }