From 70b9e44f11161fefc0b31c91779f7f73a2b6b94a Mon Sep 17 00:00:00 2001 From: adrienne-rio Date: Mon, 15 Jul 2024 11:24:07 +0800 Subject: [PATCH] chore: added checks for mac --- public/scripts/storeRedirect.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/storeRedirect.html b/public/scripts/storeRedirect.html index 93232b007a655..7b88ffe687da6 100644 --- a/public/scripts/storeRedirect.html +++ b/public/scripts/storeRedirect.html @@ -41,7 +41,7 @@ window.location.href = "market://details?id=com.deriv.ct"; } } else if (app === 'partnershub') { - if (/iP(hone|od|ad)/.test(navigator.userAgent)) { + if (/iP(hone|od|ad)/.test(navigator.userAgent) || /Mac/.test(navigator.userAgent)) { window.location.href = "https://apps.apple.com/us/app/deriv-partners-academy/id6478279499" } else { window.location.href = "market://details?id=com.deriv.partneracademy";