From aeff4506380b7f80be688e27fa58fc2d490ad217 Mon Sep 17 00:00:00 2001 From: programminglaboratorys Date: Mon, 30 Sep 2024 08:13:20 +0300 Subject: [PATCH] improving patchs --- src/plugins/statusPresets/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/statusPresets/index.tsx b/src/plugins/statusPresets/index.tsx index 827123a0e..58eaf6c53 100644 --- a/src/plugins/statusPresets/index.tsx +++ b/src/plugins/statusPresets/index.tsx @@ -110,14 +110,14 @@ export default definePlugin({ { find: ".Messages.CUSTOM_STATUS_CLEAR_AFTER", replacement: { - match: /\.ModalFooter,.+\.Messages\.SAVE\}\)/, + match: /\.ModalFooter,.{0,70}\.Messages\.SAVE\}\)/, replace: "$&,$self.renderRememberButton(this.state)" } }, { find: ".Messages.STATUS_MENU_LABEL", replacement: { - match: /!\i&&(.{0,15}\i\.Fragment.+null==(\i).+customEmojiPlaceholder\}\),onClick:([^}]+}))/, + match: /!\i&&(.{0,15}\i\.Fragment.{0,55}null==(\i).{0,200}customEmojiPlaceholder\}\),onClick:([^}]+}))/, replace: "$self.render($2, $3),false&&$1" } }