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

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