Fix ShowAllMessageButtons (#1392)

Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
Nuckyz 2023-07-07 21:33:37 -03:00 committed by GitHub
parent bf34b2ae43
commit 8b1630bc99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,8 +28,8 @@ export default definePlugin({
{ {
find: ".Messages.MESSAGE_UTILITIES_A11Y_LABEL", find: ".Messages.MESSAGE_UTILITIES_A11Y_LABEL",
replacement: { replacement: {
// isExpanded: V, (?<=,V = shiftKeyDown && !H...;) // isExpanded: V, (?<=,V = shiftKeyDown && !H...,|;)
match: /isExpanded:(\i),(?<=,\1=\i&&(!.+);.+?)/, match: /isExpanded:(\i),(?<=,\1=\i&&(?=(!.+?)[,;]).+?)/,
replace: "isExpanded:$2," replace: "isExpanded:$2,"
} }
} }