mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 15:47:18 +02:00
Call AppInterface.showRemotePlayDialog() if available
This commit is contained in:
parent
6503707c54
commit
5b032d0ede
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user