1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-09 17:36:23 +00:00

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])"
}
}
],