Reinforce iOS check
| @@ -725,7 +725,9 @@ export function initRossMods() { | ||
| 725 | 725 | RA_autoconnect(); |
| 726 | 726 | } |
| 727 | 727 | |
| 728 | - if (getParsedUA()?.os?.name === 'iOS') { | |
| 728 | + const isAppleDevice = /iPad|iPhone|iPod/.test(navigator.platform) || (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1); | |
| 729 | + | |
| 730 | + if (getParsedUA()?.os?.name === 'iOS' || isAppleDevice) { | |
| 729 | 731 | document.body.classList.add('ios'); |
| 730 | 732 | } |
| 731 | 733 | |