Vencord/src/plugins/plainFolderIcon.ts
2022-10-01 04:23:41 +02:00

15 lines
455 B
TypeScript

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",
}]
}]
});