From b48998d485e08052bcdb3602af2d5fff9b6af24f Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Thu, 26 Oct 2023 15:25:29 -0300 Subject: [PATCH] More accurate ShowAllMessageButtons patch --- src/plugins/showAllMessageButtons/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/showAllMessageButtons/index.ts b/src/plugins/showAllMessageButtons/index.ts index bff513c14..44a5741cb 100644 --- a/src/plugins/showAllMessageButtons/index.ts +++ b/src/plugins/showAllMessageButtons/index.ts @@ -28,8 +28,8 @@ export default definePlugin({ { find: ".Messages.MESSAGE_UTILITIES_A11Y_LABEL", replacement: { - match: /isExpanded:\i&&.*?,/, - replace: "isExpanded:true," + match: /isExpanded:\i&&(.+?),/, + replace: "isExpanded:$1," } } ]