mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 16:17:20 +02:00
Disable PWA prompt in Safari on iOS/iPadOS (#52)
This commit is contained in:
parent
6f326e8f2a
commit
0c80e3ab1d
@ -2340,3 +2340,8 @@ updateVideoPlayerCss();
|
|||||||
setupVideoSettingsBar();
|
setupVideoSettingsBar();
|
||||||
setupScreenshotButton();
|
setupScreenshotButton();
|
||||||
StreamStats.render();
|
StreamStats.render();
|
||||||
|
|
||||||
|
// Disable PWA prompt in Safari on iOS/iPadOS
|
||||||
|
Object.defineProperty(window.navigator, 'standalone', {
|
||||||
|
value: true,
|
||||||
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user