mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-14 03:56:36 +00:00
debug android OS selector
This commit is contained in:
parent
22e75c7012
commit
7100b079b9
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ export const DownloadsTable: FC<Props> = ({
|
||||||
if (OS.includes('Mac')) return 1;
|
if (OS.includes('Mac')) return 1;
|
||||||
if (OS.includes('Win')) return 2;
|
if (OS.includes('Win')) return 2;
|
||||||
if (OS.includes('iPhone')) return 3;
|
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;
|
return 0;
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue