More accurate ShowAllMessageButtons patch

This commit is contained in:
Nuckyz 2023-10-26 15:25:29 -03:00
parent 6d605050e1
commit b48998d485
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -28,8 +28,8 @@ export default definePlugin({
{ {
find: ".Messages.MESSAGE_UTILITIES_A11Y_LABEL", find: ".Messages.MESSAGE_UTILITIES_A11Y_LABEL",
replacement: { replacement: {
match: /isExpanded:\i&&.*?,/, match: /isExpanded:\i&&(.+?),/,
replace: "isExpanded:true," replace: "isExpanded:$1,"
} }
} }
] ]