fix: correct deeplinks on iPad (#3883)

pull/3515/merge
Brandon Cohen 5 months ago committed by GitHub
parent b6fe5ac637
commit 14cf43de26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -19,7 +19,7 @@ const useDeepLinks = ({
useEffect(() => {
if (
/iPad|iPhone|iPod/.test(navigator.userAgent) ||
(navigator.userAgent === 'MacIntel' && navigator.maxTouchPoints > 1)
(navigator.userAgent.includes('Mac') && navigator.maxTouchPoints > 1)
) {
setReturnedPlexUrl(iOSPlexUrl);
setReturnedPlexUrl4k(iOSPlexUrl4k);

Loading…
Cancel
Save