2022-09-30 22:23:41 -04:00
|
|
|
import { Devs } from "../utils/constants";
|
2022-09-30 19:34:27 -04:00
|
|
|
import definePlugin from "../utils/types";
|
|
|
|
|
|
|
|
export default definePlugin({
|
2022-09-30 22:23:41 -04:00
|
|
|
name: "PlainFolderIcon",
|
2022-09-30 19:34:27 -04:00
|
|
|
description: "Doesn't show the small guild icons in folders",
|
2022-09-30 22:23:41 -04:00
|
|
|
authors: [Devs.botato],
|
2022-09-30 19:34:27 -04:00
|
|
|
patches: [{
|
|
|
|
find: "().expandedFolderIconWrapper",
|
|
|
|
replacement: [{
|
|
|
|
match: /\(\w\|\|\w\)(&&\(\w=\w\.createElement\(\w+\.animated)/,
|
|
|
|
replace: "true$1",
|
|
|
|
}]
|
|
|
|
}]
|
|
|
|
});
|