From bb900785ed85ad536a353455ae627a96121779f2 Mon Sep 17 00:00:00 2001 From: redstonekasi Date: Wed, 25 Oct 2023 18:52:21 +0200 Subject: [PATCH] fix: ShowAllMessageButtons (#1876) --- src/plugins/showAllMessageButtons/index.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/plugins/showAllMessageButtons/index.ts b/src/plugins/showAllMessageButtons/index.ts index da0d3c6b..bff513c1 100644 --- a/src/plugins/showAllMessageButtons/index.ts +++ b/src/plugins/showAllMessageButtons/index.ts @@ -28,9 +28,8 @@ export default definePlugin({ { find: ".Messages.MESSAGE_UTILITIES_A11Y_LABEL", replacement: { - // isExpanded: V, (?<=,V = shiftKeyDown && !H...,|;) - match: /isExpanded:(\i),(?<=,\1=\i&&(?=(!.+?)[,;]).+?)/, - replace: "isExpanded:$2," + match: /isExpanded:\i&&.*?,/, + replace: "isExpanded:true," } } ]