mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-09-18 01:59:38 +02:00
Call AppInterface.showRemotePlayDialog() if available
This commit is contained in:
@@ -3778,6 +3778,11 @@ class RemotePlay {
|
||||
|
||||
RemotePlay.#initialize();
|
||||
|
||||
if (AppInterface && AppInterface.showRemotePlayDialog) {
|
||||
AppInterface.showRemotePlayDialog();
|
||||
return;
|
||||
}
|
||||
|
||||
if (document.querySelector('.bx-remote-play-popup')) {
|
||||
if (force === false) {
|
||||
RemotePlay.#$content.classList.add('bx-gone');
|
||||
|
Reference in New Issue
Block a user