Add missing patches predicates to BetterFolders

This commit is contained in:
Nuckyz 2023-10-27 20:10:44 -03:00
parent 9ce923d4d7
commit bc09225258
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -117,6 +117,7 @@ export default definePlugin({
},
{
find: ".FOLDER_ITEM_GUILD_ICON_MARGIN);",
predicate: () => settings.store.sidebar,
replacement: [
// Create the isBetterFolders variable in the nested folders component (the parent exports all the props so we don't have to patch it)
{