diff options
Diffstat (limited to 'src/plugins/spotifyControls/index.tsx')
-rw-r--r-- | src/plugins/spotifyControls/index.tsx | 2 |
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]" } |