mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 07:37:19 +02:00
Remove unused flags
This commit is contained in:
parent
40006c5931
commit
857b63a9f9
@ -114,7 +114,7 @@ document.addEventListener('readystatechange', e => {
|
|||||||
|
|
||||||
if (STATES.isSignedIn) {
|
if (STATES.isSignedIn) {
|
||||||
// Preload Remote Play
|
// Preload Remote Play
|
||||||
getPref(PrefKey.REMOTE_PLAY_ENABLED) && BX_FLAGS.PreloadRemotePlay && RemotePlay.preload();
|
getPref(PrefKey.REMOTE_PLAY_ENABLED) && RemotePlay.preload();
|
||||||
} else {
|
} else {
|
||||||
// Show Settings button in the header when not signed
|
// Show Settings button in the header when not signed
|
||||||
HeaderSection.watchHeader();
|
HeaderSection.watchHeader();
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
type BxFlags = Partial<{
|
type BxFlags = Partial<{
|
||||||
CheckForUpdate: boolean;
|
CheckForUpdate: boolean;
|
||||||
PreloadRemotePlay: boolean;
|
|
||||||
PreloadUi: boolean;
|
|
||||||
EnableXcloudLogging: boolean;
|
EnableXcloudLogging: boolean;
|
||||||
SafariWorkaround: boolean;
|
SafariWorkaround: boolean;
|
||||||
|
|
||||||
@ -19,8 +17,6 @@ type BxFlags = Partial<{
|
|||||||
// Setup flags
|
// Setup flags
|
||||||
const DEFAULT_FLAGS: BxFlags = {
|
const DEFAULT_FLAGS: BxFlags = {
|
||||||
CheckForUpdate: true,
|
CheckForUpdate: true,
|
||||||
PreloadRemotePlay: true,
|
|
||||||
PreloadUi: false,
|
|
||||||
EnableXcloudLogging: false,
|
EnableXcloudLogging: false,
|
||||||
SafariWorkaround: true,
|
SafariWorkaround: true,
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user