Fix BetterNoteBox

This commit is contained in:
Vendicated 2023-10-25 19:59:20 +02:00
parent 88c6e2a0e9
commit 0d7157dd20
No known key found for this signature in database
GPG Key ID: D66986BAF75ECF18

View File

@ -48,8 +48,8 @@ export default definePlugin({
{
find: ".Messages.NOTE}",
replacement: {
match: /(\i)\.hideNote\?null/,
replace: "$1.hideNote?$self.patchPadding($1)"
match: /(?<=return \i\?)null(?=:\(0,\i\.jsxs)/,
replace: "$self.patchPadding(arguments[0])"
}
}
],