mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
fix: correct deeplinks on iPad (#3883)
This commit is contained in:
@@ -19,7 +19,7 @@ const useDeepLinks = ({
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (
|
if (
|
||||||
/iPad|iPhone|iPod/.test(navigator.userAgent) ||
|
/iPad|iPhone|iPod/.test(navigator.userAgent) ||
|
||||||
(navigator.userAgent === 'MacIntel' && navigator.maxTouchPoints > 1)
|
(navigator.userAgent.includes('Mac') && navigator.maxTouchPoints > 1)
|
||||||
) {
|
) {
|
||||||
setReturnedPlexUrl(iOSPlexUrl);
|
setReturnedPlexUrl(iOSPlexUrl);
|
||||||
setReturnedPlexUrl4k(iOSPlexUrl4k);
|
setReturnedPlexUrl4k(iOSPlexUrl4k);
|
||||||
|
Reference in New Issue
Block a user