mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-04 22:57: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) {
|
||||
// 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,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user