1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-11 02:16:23 +00:00

Add missing patches predicates to BetterFolders

This commit is contained in:
Nuckyz 2023-10-27 20:10:44 -03:00 committed by Luna
parent 054c4b547c
commit a423323181

View file

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