chore: Prettified Code
[ci skip]
This commit is contained in:
parent
672b52991a
commit
9ec60515e8
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ export default class DiscordRPC {
|
||||||
if (!this._utils.getStoreValue("connectivity.discord_rpc.hide_buttons")) {
|
if (!this._utils.getStoreValue("connectivity.discord_rpc.hide_buttons")) {
|
||||||
activity.buttons = [
|
activity.buttons = [
|
||||||
{ label: "Listen on Cider", url: attributes.url.cider },
|
{ label: "Listen on Cider", url: attributes.url.cider },
|
||||||
... showSongLink ? [{ label: "View on other platforms", url: 'https://song.link/i/' + attributes.songId }] : [{ label: "View on Apple Music", url: attributes.url.appleMusic }]
|
...(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
|
]; //To change attributes.url => preload/cider-preload.js
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue