aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/plainFolderIcon.ts
blob: c04c78b6dbb9e1af9475e914c9aa983ca625e419 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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",
        }]
    }]
});