diff --git a/src/plugins/folderSvgIcon.ts b/src/plugins/folderSvgIcon.ts new file mode 100644 index 00000000..1f91cab6 --- /dev/null +++ b/src/plugins/folderSvgIcon.ts @@ -0,0 +1,14 @@ +import definePlugin from "../utils/types"; + +export default definePlugin({ + name: "Folder SVG Icon", + description: "Doesn't show the small guild icons in folders", + author: "botato", + patches: [{ + find: "().expandedFolderIconWrapper", + replacement: [{ + match: /\(\w\|\|\w\)(&&\(\w=\w\.createElement\(\w+\.animated)/, + replace: "true$1", + }] + }] +});