mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 07:37:19 +02:00
Fix iPhone detection
This commit is contained in:
parent
9d4eaf8024
commit
281787d955
@ -6079,7 +6079,7 @@ class Preferences {
|
||||
'default': false,
|
||||
'unsupported': (() => {
|
||||
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