Replace songId with albumId on dynamic image check
This commit is contained in:
parent
73845a9432
commit
e7b2f30718
1 changed files with 3 additions and 1 deletions
|
@ -475,7 +475,9 @@ export const FullScreenPlayer = () => {
|
|||
const imageUrl = currentSong?.imageUrl;
|
||||
const backgroundImage =
|
||||
imageUrl && dynamicIsImage
|
||||
? `url("${imageUrl.replace(/size=\d+/g, 'size=500')}`
|
||||
? `url("${imageUrl
|
||||
.replace(/size=\d+/g, 'size=500')
|
||||
.replace(currentSong.id, currentSong.albumId)}`
|
||||
: mainBackground;
|
||||
|
||||
return (
|
||||
|
|
Reference in a new issue