diff options
Diffstat (limited to 'src/plugins/plainFolderIcon.ts')
-rw-r--r-- | src/plugins/plainFolderIcon.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/plugins/plainFolderIcon.ts b/src/plugins/plainFolderIcon.ts new file mode 100644 index 0000000..c04c78b --- /dev/null +++ b/src/plugins/plainFolderIcon.ts @@ -0,0 +1,15 @@ +import { Devs } from "../utils/constants"; +import definePlugin from "../utils/types"; + +export default definePlugin({ + name: "PlainFolderIcon", + description: "Doesn't show the small guild icons in folders", + authors: [Devs.botato], + patches: [{ + find: "().expandedFolderIconWrapper", + replacement: [{ + match: /\(\w\|\|\w\)(&&\(\w=\w\.createElement\(\w+\.animated)/, + replace: "true$1", + }] + }] +}); |