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",
replacement: {
match: /isExpanded:\i&&.*?,/,
replace: "isExpanded:true,"
match: /isExpanded:\i&&(.+?),/,
replace: "isExpanded:$1,"
}
}
]