fix plainfoldericon

This commit is contained in:
sadan 2026-01-23 19:04:21 -05:00
parent 2a31fdefe1
commit 33e3de139d
No known key found for this signature in database

View file

@ -33,7 +33,7 @@ export default definePlugin({
{
// Discord always renders both plain and guild icons folders and uses a css transtion to switch between them
match: /\.slice\(0,4\).+?\]:(\i),\[\i\.\i\]:!\1/,
replace: (m, hasFolderButtonContent) => `${m},"vc-plainFolderIcon-plain":${hasFolderButtonContent}`
replace: (m, hasFolderButtonContent) => `${m},"vc-plainFolderIcon-plain":!${hasFolderButtonContent}`
}
]