mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
Replace songId with albumId on dynamic image check
This commit is contained in:
@@ -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 New Issue
Block a user