diff --git a/src/plugins/spotifyControls/PlayerComponent.tsx b/src/plugins/spotifyControls/PlayerComponent.tsx index 797283520..b5cc26a80 100644 --- a/src/plugins/spotifyControls/PlayerComponent.tsx +++ b/src/plugins/spotifyControls/PlayerComponent.tsx @@ -233,18 +233,22 @@ function Info({ track }: { track: Track; }) { const [coverExpanded, setCoverExpanded] = React.useState(false); const i = ( - Album Image setCoverExpanded(!coverExpanded)} - onContextMenu={e => { - ContextMenu.open(e, () => ); - }} - /> + <> + {img && ( + Album Image setCoverExpanded(!coverExpanded)} + onContextMenu={e => { + ContextMenu.open(e, () => ); + }} + /> + )} + ); - if (coverExpanded) return ( + if (coverExpanded && img) return (
{i}
@@ -280,18 +284,20 @@ function Info({ track }: { track: Track; }) { ))} - + {track.album.name && ( + on  - - {track.album.name} - - + + {track.album.name} + + + )} );