Call AppInterface.showRemotePlayDialog() if available

This commit is contained in:
redphx 2024-04-02 17:36:13 +07:00
parent 6503707c54
commit 5b032d0ede

View File

@ -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');