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