mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 08:07:18 +02:00
Don't show stream badges in the Guide menu until xCloud removes the Stream menu
This commit is contained in:
parent
e10a98c245
commit
4db25e8d62
@ -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());
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user