mirror of
https://github.com/System-End/Vencord.git
synced 2026-04-19 19:45:09 +00:00
fix PlatformIndicator badges
This commit is contained in:
parent
57091cfa02
commit
c8ccf4bfb7
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ export default definePlugin({
|
|||
replace: "...$1.props,$&"
|
||||
},
|
||||
{
|
||||
match: /(?<="aria-label":(\i)\.description,.{0,200})children:/,
|
||||
match: /(?<="aria-label":(\i)\.description,.{0,200}?)children:/g,
|
||||
replace: "children:$1.component?$self.renderBadgeComponent({...$1}) :"
|
||||
},
|
||||
// handle onClick and onContextMenu
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue