aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/spotifyControls
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-11-11 00:11:44 +0100
committerVendicated <vendicated@riseup.net>2022-11-11 00:11:44 +0100
commit8ba9c96f2075f5245a9fec369046559d6a1e107c (patch)
tree8951172468bb9fa79b6b60e3aed2dabf2e5c3ea4 /src/plugins/spotifyControls
parent57f3feba6896033008826818b3260f4474d9cfae (diff)
downloadVencord-8ba9c96f2075f5245a9fec369046559d6a1e107c.tar.gz
Vencord-8ba9c96f2075f5245a9fec369046559d6a1e107c.tar.bz2
Vencord-8ba9c96f2075f5245a9fec369046559d6a1e107c.zip
Fix most plugins
Diffstat (limited to 'src/plugins/spotifyControls')
-rw-r--r--src/plugins/spotifyControls/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/spotifyControls/index.tsx b/src/plugins/spotifyControls/index.tsx
index 18bced9..6bf6625 100644
--- a/src/plugins/spotifyControls/index.tsx
+++ b/src/plugins/spotifyControls/index.tsx
@@ -40,7 +40,7 @@ export default definePlugin({
find: "showTaglessAccountPanel:",
replacement: {
// return React.createElement(AccountPanel, { ..., showTaglessAccountPanel: blah })
- match: /return (.{0,30}\(.{1,3},\{[^}]+?,showTaglessAccountPanel:.+?\}\))/,
+ match: /return ?(.{0,30}\(.{1,3},\{[^}]+?,showTaglessAccountPanel:.+?\}\))/,
// return [Player, Panel]
replace: "return [Vencord.Plugins.plugins.SpotifyControls.renderPlayer(),$1]"
}