mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-06 05:08:26 +02:00
Use singleton in GameBar
This commit is contained in:
@@ -475,7 +475,7 @@ export function setupStreamUi() {
|
||||
setupQuickSettingsBar();
|
||||
StreamStats.render();
|
||||
|
||||
getPref(PrefKey.GAME_BAR_ENABLED) && GameBar.setup();
|
||||
getPref(PrefKey.GAME_BAR_ENABLED) && GameBar.getInstance();
|
||||
}
|
||||
|
||||
updateVideoPlayerCss();
|
||||
|
Reference in New Issue
Block a user