mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-22 07:00:58 -05:00
feat: use wxp logo for Windows 7
This commit is contained in:
parent
2c50d9be6b
commit
02eb7d83f6
1 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,7 @@ import {
|
||||||
Macos,
|
Macos,
|
||||||
Opera,
|
Opera,
|
||||||
Samsung,
|
Samsung,
|
||||||
|
Windowsxp,
|
||||||
} 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";
|
||||||
|
@ -99,6 +100,8 @@ export function Sessions() {
|
||||||
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 7/i.test(name):
|
||||||
|
return <Windowsxp size={14} />;
|
||||||
case /windows/i.test(name):
|
case /windows/i.test(name):
|
||||||
return <Windows size={14} />;
|
return <Windows size={14} />;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue