fix discord rpc (#1437)
This commit is contained in:
parent
ab6abd2b62
commit
672b52991a
2 changed files with 2 additions and 3 deletions
|
@ -237,8 +237,7 @@ export default class DiscordRPC {
|
|||
if (!this._utils.getStoreValue("connectivity.discord_rpc.hide_buttons")) {
|
||||
activity.buttons = [
|
||||
{ label: "Listen on Cider", url: attributes.url.cider },
|
||||
{ label: "View on Apple Music", url: attributes.url.appleMusic },
|
||||
...(showSongLink ? [{ label: "Song.link", url: "https://song.link/i/" + attributes.songId }] : []),
|
||||
... showSongLink ? [{ label: "View on other platforms", url: 'https://song.link/i/' + attributes.songId }] : [{ label: "View on Apple Music", url: attributes.url.appleMusic }]
|
||||
]; //To change attributes.url => preload/cider-preload.js
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue