chore: Prettified Code

[ci skip]
This commit is contained in:
cryptofyre 2022-09-15 12:43:43 +00:00 committed by cider-chore[bot]
parent 9cb864b971
commit ab6abd2b62

View file

@ -238,7 +238,7 @@ export default class DiscordRPC {
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: "Song.link", url: "https://song.link/i/" + attributes.songId }] : []),
]; //To change attributes.url => preload/cider-preload.js
}