Fix ShowAllMessageButtons (#1392)

Co-authored-by: V <vendicated@riseup.net>
main
Nuckyz 1 year ago committed by GitHub
parent bf34b2ae43
commit 8b1630bc99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save