mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +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 imageUrl = currentSong?.imageUrl;
|
||||||
const backgroundImage =
|
const backgroundImage =
|
||||||
imageUrl && dynamicIsImage
|
imageUrl && dynamicIsImage
|
||||||
? `url("${imageUrl.replace(/size=\d+/g, 'size=500')}`
|
? `url("${imageUrl
|
||||||
|
.replace(/size=\d+/g, 'size=500')
|
||||||
|
.replace(currentSong.id, currentSong.albumId)}`
|
||||||
: mainBackground;
|
: mainBackground;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user