Declutter: Fix Missing Predicate

This commit is contained in:
thororen1234 2026-07-30 03:11:11 -04:00
parent 4b1c3eeaba
commit 5a47e41f91
No known key found for this signature in database

View file

@ -184,6 +184,7 @@ export default definePlugin({
match: /(?=0!==\i.length&&\i\?\(0,)/,
replace: "null&&",
},
predicate: () => settings.store.removeProfileFrame,
},
{
// Avatar decoration
@ -193,8 +194,7 @@ export default definePlugin({
replace: "$1null",
},
predicate: () =>
settings.store.removeAvatarDecoration &&
!isPluginEnabled(decor.name),
settings.store.removeAvatarDecoration && !isPluginEnabled(decor.name),
},
{
// Avatar decoration on dms list
@ -204,8 +204,7 @@ export default definePlugin({
replace: "null",
},
predicate: () =>
settings.store.removeAvatarDecoration &&
!isPluginEnabled(decor.name),
settings.store.removeAvatarDecoration && !isPluginEnabled(decor.name),
},
// User Area
{