Remove unused flags

This commit is contained in:
redphx 2024-07-28 07:25:11 +07:00
parent 40006c5931
commit 857b63a9f9
2 changed files with 1 additions and 5 deletions

View File

@ -114,7 +114,7 @@ document.addEventListener('readystatechange', e => {
if (STATES.isSignedIn) {
// Preload Remote Play
getPref(PrefKey.REMOTE_PLAY_ENABLED) && BX_FLAGS.PreloadRemotePlay && RemotePlay.preload();
getPref(PrefKey.REMOTE_PLAY_ENABLED) && RemotePlay.preload();
} else {
// Show Settings button in the header when not signed
HeaderSection.watchHeader();

View File

@ -1,7 +1,5 @@
type BxFlags = Partial<{
CheckForUpdate: boolean;
PreloadRemotePlay: boolean;
PreloadUi: boolean;
EnableXcloudLogging: boolean;
SafariWorkaround: boolean;
@ -19,8 +17,6 @@ type BxFlags = Partial<{
// Setup flags
const DEFAULT_FLAGS: BxFlags = {
CheckForUpdate: true,
PreloadRemotePlay: true,
PreloadUi: false,
EnableXcloudLogging: false,
SafariWorkaround: true,