Vencord/src/plugins/folderSvgIcon.ts

18 lines
464 B
TypeScript
Raw Normal View History

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