mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-01 10:56:42 +02:00
Fix Settings dialog not showing full settings when signed in
This commit is contained in:
4
dist/better-xcloud.user.js
vendored
4
dist/better-xcloud.user.js
vendored
@@ -7854,7 +7854,7 @@ window.addEventListener("load", (e) => {
|
||||
document.addEventListener("readystatechange", (e) => {
|
||||
if (document.readyState !== "interactive")
|
||||
return;
|
||||
if (STATES.isSignedIn = window.xbcUser?.isSignedIn, STATES.isSignedIn)
|
||||
if (STATES.isSignedIn = !!window.xbcUser?.isSignedIn, STATES.isSignedIn)
|
||||
getPref("xhome_enabled") && RemotePlay.preload();
|
||||
else
|
||||
HeaderSection.watchHeader();
|
||||
@@ -7873,7 +7873,7 @@ window.addEventListener(BxEvent.XCLOUD_SERVERS_UNAVAILABLE, (e) => {
|
||||
STATES.supportedRegion = !1, window.setTimeout(HeaderSection.watchHeader, 2000), SettingsNavigationDialog.getInstance().show();
|
||||
});
|
||||
window.addEventListener(BxEvent.XCLOUD_SERVERS_READY, (e) => {
|
||||
HeaderSection.watchHeader();
|
||||
STATES.isSignedIn = !0, HeaderSection.watchHeader();
|
||||
});
|
||||
window.addEventListener(BxEvent.STREAM_LOADING, (e) => {
|
||||
if (window.location.pathname.includes("/launch/")) {
|
||||
|
Reference in New Issue
Block a user