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