PlatformIndicators: Fix server list

This commit is contained in:
Vendicated 2022-11-21 15:59:19 +01:00
parent 33c33eb0fd
commit 0a92bd6521
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3

View file

@ -97,7 +97,7 @@ export default definePlugin({
// Server member list decorators // Server member list decorators
find: "this.renderPremium()", find: "this.renderPremium()",
replacement: { replacement: {
match: /this.renderPremium\(\).+?\]/, match: /this.renderPremium\(\)[^\]]*?\]/,
replace: "$&.concat(Vencord.Plugins.plugins.PlatformIndicators.renderPlatformIndicators(this.props))" replace: "$&.concat(Vencord.Plugins.plugins.PlatformIndicators.renderPlatformIndicators(this.props))"
} }
}, },