diff options
author | V <vendicated@riseup.net> | 2023-09-25 18:07:43 +0200 |
---|---|---|
committer | V <vendicated@riseup.net> | 2023-09-25 18:07:43 +0200 |
commit | 376aaf39ce95778b1b11705bd6a1c8859bbc780f (patch) | |
tree | cf2a0f80b4fcbc34b3c766f7fe33815621b99d0e /src/plugins/searchReply | |
parent | 044f64e446b67613282fa96192abe6d1ed504923 (diff) | |
download | Vencord-376aaf39ce95778b1b11705bd6a1c8859bbc780f.tar.gz Vencord-376aaf39ce95778b1b11705bd6a1c8859bbc780f.tar.bz2 Vencord-376aaf39ce95778b1b11705bd6a1c8859bbc780f.zip |
fix SearchReply filter
Diffstat (limited to 'src/plugins/searchReply')
-rw-r--r-- | src/plugins/searchReply/index.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/searchReply/index.tsx b/src/plugins/searchReply/index.tsx index 3f5c643..98f26e0 100644 --- a/src/plugins/searchReply/index.tsx +++ b/src/plugins/searchReply/index.tsx @@ -17,14 +17,13 @@ */ import { addContextMenuPatch, findGroupChildrenByChildId, NavContextMenuPatchCallback, removeContextMenuPatch } from "@api/ContextMenu"; +import { ReplyIcon } from "@components/Icons"; import { Devs } from "@utils/constants"; -import { LazyComponent } from "@utils/react"; import definePlugin from "@utils/types"; -import { findByCode, findByCodeLazy } from "@webpack"; +import { findByCodeLazy } from "@webpack"; import { ChannelStore, i18n, Menu, PermissionsBits, PermissionStore, SelectedChannelStore } from "@webpack/common"; import { Message } from "discord-types/general"; -const ReplyIcon = LazyComponent(() => findByCode("M10 8.26667V4L3 11.4667L10 18.9333V14.56C15 14.56 18.5 16.2667 21 20C20 14.6667 17 9.33333 10 8.26667Z")); const replyFn = findByCodeLazy("showMentionToggle", "TEXTAREA_FOCUS", "shiftKey"); |