debug android OS selector

This commit is contained in:
Paul Wackerow 2022-12-15 14:40:18 -08:00
parent 22e75c7012
commit 7100b079b9
No known key found for this signature in database
GPG Key ID: BB63E296FE9CAB8D
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ export const DownloadsTable: FC<Props> = ({
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;
}, [])