mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-05 12:56:42 +02:00
Remove unused flags
This commit is contained in:
@@ -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();
|
||||
|
@@ -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,
|
||||
|
||||
|
Reference in New Issue
Block a user