debug android OS selector

pull/26459/head^2
Paul Wackerow 2 years ago
parent 22e75c7012
commit 7100b079b9
No known key found for this signature in database
GPG Key ID: BB63E296FE9CAB8D
  1. 2
      src/components/UI/downloads/DownloadsTable.tsx

@ -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;
}, [])

Loading…
Cancel
Save