mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-09-15 00:29:41 +02:00
Fix iPhone detection
This commit is contained in:
@@ -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;
|
||||
})(),
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user