aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/folderSvgIcon.ts
blob: 208efaa51be34aa56ee16b5a6150598766d9ee92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import definePlugin from "../utils/types";

export default definePlugin({
    name: "Folder SVG Icon",
    description: "Doesn't show the small guild icons in folders",
    authors: [{
        name: "botato",
        id: 440990343899643943n
    }],
    patches: [{
        find: "().expandedFolderIconWrapper",
        replacement: [{
            match: /\(\w\|\|\w\)(&&\(\w=\w\.createElement\(\w+\.animated)/,
            replace: "true$1",
        }]
    }]
});