Replace songId with albumId on dynamic image check

This commit is contained in:
jeffvli 2024-03-05 00:45:45 -08:00
parent 73845a9432
commit e7b2f30718

View file

@ -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 (