fix: ShowAllMessageButtons (#1876)

This commit is contained in:
redstonekasi 2023-10-25 18:52:21 +02:00 committed by GitHub
parent 61fac0a8f1
commit bb900785ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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