Fix BetterNoteBox
This commit is contained in:
parent
88c6e2a0e9
commit
0d7157dd20
1 changed files with 2 additions and 2 deletions
|
@ -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])"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue