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,)/,
|
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
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue