From 7bdc7bd2fe2a4a3abd3e9bae57586a6c3cbccb78 Mon Sep 17 00:00:00 2001 From: "dev.daminik00" Date: Fri, 28 Feb 2025 01:26:26 +0100 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=B2=20=D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D1=83=20?= =?UTF-8?q?=D0=BD=D0=B0=20ios=20iPad=20=D0=B8=20iPod?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CompatibilityV2/pages/ScannedPhoto/index.tsx | 2 +- src/components/PalmistryV1/pages/ScannedPhoto/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/CompatibilityV2/pages/ScannedPhoto/index.tsx b/src/components/CompatibilityV2/pages/ScannedPhoto/index.tsx index 8aa41f1..3f6a93c 100644 --- a/src/components/CompatibilityV2/pages/ScannedPhoto/index.tsx +++ b/src/components/CompatibilityV2/pages/ScannedPhoto/index.tsx @@ -190,7 +190,7 @@ function ScannedPhoto() { ); const onEndLoading = useCallback(() => { - const isIOS = /iPhone/i.test(navigator.userAgent); + const isIOS = /iPhone|iPad|iPod/i.test(navigator.userAgent); if (isIOSPath && !!authCode && isIOS) { return navigate(routes.client.compatibilityV2TryApp()); } diff --git a/src/components/PalmistryV1/pages/ScannedPhoto/index.tsx b/src/components/PalmistryV1/pages/ScannedPhoto/index.tsx index 723297b..07af3f4 100644 --- a/src/components/PalmistryV1/pages/ScannedPhoto/index.tsx +++ b/src/components/PalmistryV1/pages/ScannedPhoto/index.tsx @@ -96,7 +96,7 @@ function ScannedPhoto() { }, [currentElementIndex, drawElements.length]); const handleNext = () => { - const isIOS = /iPhone/i.test(navigator.userAgent); + const isIOS = /iPhone|iPad|iPod/i.test(navigator.userAgent); if (isIOSPath && !!authCode && isIOS) { return navigate(routes.client.palmistryV1TryApp()); }