mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-24 21:07:41 +02:00
use ItemImage in library header
This commit is contained in:
@@ -126,7 +126,12 @@ const DummyAlbumDetailRoute = () => {
|
||||
<Stack>
|
||||
<LibraryHeader
|
||||
imageUrl={imageUrl}
|
||||
item={{ route: AppRoute.LIBRARY_SONGS, type: LibraryItem.SONG }}
|
||||
item={{
|
||||
imageId: detailQuery?.data?.imageId,
|
||||
imageUrl: detailQuery?.data?.imageUrl,
|
||||
route: AppRoute.LIBRARY_SONGS,
|
||||
type: LibraryItem.SONG,
|
||||
}}
|
||||
loading={!background || colorId !== albumId}
|
||||
title={detailQuery?.data?.name || ''}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user