fix: fix iOS regex (#519)

This commit is contained in:
Ed L 2022-03-29 20:47:54 +01:00 committed by GitHub
parent c8c470d383
commit 28efdd0ea4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,7 +92,7 @@ export function Sessions() {
return <Android size={14} />; return <Android size={14} />;
case /mac.*os/i.test(name): case /mac.*os/i.test(name):
return <Macos size={14} />; return <Macos size={14} />;
case /i(Pad)os/i.test(name): case /i(Pad)?os/i.test(name):
return <Apple size={14} />; return <Apple size={14} />;
case /windows/i.test(name): case /windows/i.test(name):
return <Windows size={14} />; return <Windows size={14} />;