Declutter: Fix Missing Predicate
This commit is contained in:
parent
4b1c3eeaba
commit
5a47e41f91
1 changed files with 3 additions and 4 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue