From 7100b079b99acd77f5060c6f442ff2b1a93b463e Mon Sep 17 00:00:00 2001 From: Paul Wackerow <54227730+wackerow@users.noreply.github.com> Date: Thu, 15 Dec 2022 14:40:18 -0800 Subject: [PATCH] debug android OS selector --- src/components/UI/downloads/DownloadsTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/UI/downloads/DownloadsTable.tsx b/src/components/UI/downloads/DownloadsTable.tsx index 685eca268a..4e95b11a57 100644 --- a/src/components/UI/downloads/DownloadsTable.tsx +++ b/src/components/UI/downloads/DownloadsTable.tsx @@ -43,7 +43,7 @@ export const DownloadsTable: FC = ({ if (OS.includes('Mac')) return 1; if (OS.includes('Win')) return 2; if (OS.includes('iPhone')) return 3; - if (OS.includes('Android') || userAgent.includes("SamsungBrowser")) return 4; + if (/Android/i.test(OS) || /Android|SamsungBrowser/i.test(userAgent)) return 4; return 0; }, [])