aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/plainFolderIcon.ts
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-11-11 16:14:05 +0100
committerVendicated <vendicated@riseup.net>2022-11-11 16:14:09 +0100
commit1176896a1b7aa5615b4aae28cc885683f0dadd1a (patch)
treed314a46e6ddcab6e3f328d0a3f535319e7c8f796 /src/plugins/plainFolderIcon.ts
parentf3aba3edb0fc67118546629f7dbdda5ff6b0ebff (diff)
downloadVencord-1176896a1b7aa5615b4aae28cc885683f0dadd1a.tar.gz
Vencord-1176896a1b7aa5615b4aae28cc885683f0dadd1a.tar.bz2
Vencord-1176896a1b7aa5615b4aae28cc885683f0dadd1a.zip
fix(plugins): PronounDB, ViewIcons, WebhookTags, NoBlockedMessages, BetterGifAltText, MessageAccessories
Diffstat (limited to 'src/plugins/plainFolderIcon.ts')
-rw-r--r--src/plugins/plainFolderIcon.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/plainFolderIcon.ts b/src/plugins/plainFolderIcon.ts
index b727ab2..35f903f 100644
--- a/src/plugins/plainFolderIcon.ts
+++ b/src/plugins/plainFolderIcon.ts
@@ -26,8 +26,8 @@ export default definePlugin({
patches: [{
find: "().expandedFolderIconWrapper",
replacement: [{
- match: /\(\w\|\|\w\)(&&\(\w=\w\.createElement\(\w+\.animated)/,
- replace: "true$1",
+ match: /\(\w\|\|\w\)&&(\(.{0,40}\(.{1,3}\.animated)/,
+ replace: "$1",
}]
}]
});