Skip to content

Commit

Permalink
fix: correct deeplinks on iPad (sct#3883)
Browse files Browse the repository at this point in the history
  • Loading branch information
OwsleyJr authored Jun 20, 2024
1 parent b6fe5ac commit 14cf43d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useDeepLinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 14cf43d

Please sign in to comment.