Merge pull request #181 from Snazzah/samsung-icon-session

This commit is contained in:
Paul Makles 2021-09-09 20:35:32 +01:00 committed by GitHub
commit 5f233249ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,7 @@ import {
Linux, Linux,
Macos, Macos,
Opera, Opera,
Samsung,
} from "@styled-icons/simple-icons"; } from "@styled-icons/simple-icons";
import relativeTime from "dayjs/plugin/relativeTime"; import relativeTime from "dayjs/plugin/relativeTime";
import { useHistory } from "react-router-dom"; import { useHistory } from "react-router-dom";
@ -74,6 +75,8 @@ export function Sessions() {
return <Microsoftedge size={32} />; return <Microsoftedge size={32} />;
case /opera/i.test(name): case /opera/i.test(name):
return <Opera size={32} />; return <Opera size={32} />;
case /samsung/i.test(name):
return <Samsung size={32} />;
case /desktop/i.test(name): case /desktop/i.test(name):
return <Desktop size={32} />; return <Desktop size={32} />;
default: default: