Don't show stream badges in the Guide menu until xCloud removes the Stream menu

This commit is contained in:
redphx 2024-06-01 18:27:46 +07:00
parent e10a98c245
commit 4db25e8d62

View File

@ -337,6 +337,9 @@ export class StreamBadges {
} catch(e) {} } catch(e) {}
}); });
/*
Don't do this until xCloud remove the Stream Menu page
window.addEventListener(BxEvent.XCLOUD_GUIDE_SHOWN, async e => { window.addEventListener(BxEvent.XCLOUD_GUIDE_SHOWN, async e => {
const where = (e as any).where as XcloudGuideWhere; const where = (e as any).where as XcloudGuideWhere;
@ -352,5 +355,6 @@ export class StreamBadges {
// Add badges // Add badges
$btnQuit.insertAdjacentElement('beforebegin', await StreamBadges.getInstance().render()); $btnQuit.insertAdjacentElement('beforebegin', await StreamBadges.getInstance().render());
}); });
*/
} }
} }