mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 16:17:20 +02:00
Fix iPhone detection
This commit is contained in:
parent
9d4eaf8024
commit
281787d955
@ -6079,7 +6079,7 @@ class Preferences {
|
|||||||
'default': false,
|
'default': false,
|
||||||
'unsupported': (() => {
|
'unsupported': (() => {
|
||||||
const userAgent = (window.navigator.orgUserAgent || window.navigator.userAgent || '').toLowerCase();
|
const userAgent = (window.navigator.orgUserAgent || window.navigator.userAgent || '').toLowerCase();
|
||||||
return userAgent.match(/(android|ios|ipad)/) ? __('browser-unsupported-feature') : false;
|
return userAgent.match(/(android|iphone|ipad)/) ? __('browser-unsupported-feature') : false;
|
||||||
})(),
|
})(),
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user