diff options
author | TheKodeToad <TheKodeToad@proton.me> | 2023-09-26 20:47:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-26 21:47:12 +0200 |
commit | 837d1fc08334f569da8fe332ee72ef8c8560d9ef (patch) | |
tree | ea7e55e23874f5822076a2ae3bfad7d44eb9ce86 /src/components/VencordSettings | |
parent | 608a67c9ae4eea61bc532398ed615a4984db2ffc (diff) | |
download | Vencord-837d1fc08334f569da8fe332ee72ef8c8560d9ef.tar.gz Vencord-837d1fc08334f569da8fe332ee72ef8c8560d9ef.tar.bz2 Vencord-837d1fc08334f569da8fe332ee72ef8c8560d9ef.zip |
web: fix themes tab (#1756)
Diffstat (limited to 'src/components/VencordSettings')
-rw-r--r-- | src/components/VencordSettings/ThemesTab.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/VencordSettings/ThemesTab.tsx b/src/components/VencordSettings/ThemesTab.tsx index 37d06c7..573f3b9 100644 --- a/src/components/VencordSettings/ThemesTab.tsx +++ b/src/components/VencordSettings/ThemesTab.tsx @@ -20,6 +20,7 @@ import { useSettings } from "@api/Settings"; import { classNameFactory } from "@api/Styles"; import { ErrorCard } from "@components/ErrorCard"; import { Flex } from "@components/Flex"; +import { DeleteIcon } from "@components/Icons"; import { Link } from "@components/Link"; import { IsFirefox } from "@utils/constants"; import { Margins } from "@utils/margins"; @@ -42,7 +43,6 @@ type FileInput = ComponentType<{ }>; const InviteActions = findByPropsLazy("resolveInvite"); -const TrashIcon = findByCodeLazy("M5 6.99902V18.999C5 20.101 5.897 20.999"); const FileInput: FileInput = findByCodeLazy("activateUploadDialogue="); const TextAreaProps = findLazy(m => typeof m.textarea === "string"); @@ -114,7 +114,7 @@ function ThemeCard({ theme, enabled, onChange, onDelete }: ThemeCardProps) { infoButton={ IS_WEB && ( <div style={{ cursor: "pointer", color: "var(--status-danger" }} onClick={onDelete}> - <TrashIcon /> + <DeleteIcon /> </div> ) } |