From c56f700fbacd4c4ff5f5029fade657076c5ab34b Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Fri, 8 Nov 2024 23:55:17 -0500 Subject: [PATCH] StatusPresets Fix --- src/equicordplugins/statusPresets/index.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/equicordplugins/statusPresets/index.tsx b/src/equicordplugins/statusPresets/index.tsx index 5889448d..ec1b6315 100644 --- a/src/equicordplugins/statusPresets/index.tsx +++ b/src/equicordplugins/statusPresets/index.tsx @@ -138,11 +138,12 @@ export default definePlugin({ } }, { - find: /"aria-label":.{0,1}\.\i\.string\(\i\.\i#{intl::STATUS_MENU_LABEL}/, + find: "#{intl::STATUS_MENU_LABEL}", replacement: { match: /!\i&&(.{0,15}\i\.Fragment.{0,55}null==(\i).{0,200}customEmojiPlaceholder\}\),onClick:([^}]+}))/, replace: "$self.render($2, $3),false&&$1" - } + }, + all: true } ], render(status: null | { emoji: Emoji | null; }, openCustomStatusModal: () => void) {