Fix iPhone detection

This commit is contained in:
redphx 2024-01-06 15:47:34 +07:00
parent 9d4eaf8024
commit 281787d955

View File

@ -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;
})(),
},