mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-06 20:10:12 +02:00
chore: use consistent order of track / artist / ablum on full screen page
This commit is contained in:
@@ -269,25 +269,7 @@ export const FullScreenPlayerImage = () => {
|
|||||||
? radioMetadata?.title || stationName || 'Radio'
|
? radioMetadata?.title || stationName || 'Radio'
|
||||||
: currentSong?.name}
|
: currentSong?.name}
|
||||||
</Text>
|
</Text>
|
||||||
{isPlayingRadio ? (
|
<Text key="fs-artists" size="xl">
|
||||||
<Text overflow="hidden" size="xl" w="100%">
|
|
||||||
{stationName || 'Radio'}
|
|
||||||
</Text>
|
|
||||||
) : (
|
|
||||||
<Text
|
|
||||||
component={Link}
|
|
||||||
isLink
|
|
||||||
overflow="hidden"
|
|
||||||
size="xl"
|
|
||||||
to={generatePath(AppRoute.LIBRARY_ALBUMS_DETAIL, {
|
|
||||||
albumId: currentSong?.albumId || '',
|
|
||||||
})}
|
|
||||||
w="100%"
|
|
||||||
>
|
|
||||||
{currentSong?.album}
|
|
||||||
</Text>
|
|
||||||
)}
|
|
||||||
<Text key="fs-artists">
|
|
||||||
{isPlayingRadio
|
{isPlayingRadio
|
||||||
? radioMetadata?.artist || stationName || 'Radio'
|
? radioMetadata?.artist || stationName || 'Radio'
|
||||||
: currentSong?.artists?.map((artist, index) => (
|
: currentSong?.artists?.map((artist, index) => (
|
||||||
@@ -314,6 +296,24 @@ export const FullScreenPlayerImage = () => {
|
|||||||
</Fragment>
|
</Fragment>
|
||||||
))}
|
))}
|
||||||
</Text>
|
</Text>
|
||||||
|
{isPlayingRadio ? (
|
||||||
|
<Text overflow="hidden" size="xl" w="100%">
|
||||||
|
{stationName || 'Radio'}
|
||||||
|
</Text>
|
||||||
|
) : (
|
||||||
|
<Text
|
||||||
|
component={Link}
|
||||||
|
isLink
|
||||||
|
overflow="hidden"
|
||||||
|
size="xl"
|
||||||
|
to={generatePath(AppRoute.LIBRARY_ALBUMS_DETAIL, {
|
||||||
|
albumId: currentSong?.albumId || '',
|
||||||
|
})}
|
||||||
|
w="100%"
|
||||||
|
>
|
||||||
|
{currentSong?.album}
|
||||||
|
</Text>
|
||||||
|
)}
|
||||||
{!isPlayingRadio && (
|
{!isPlayingRadio && (
|
||||||
<Group justify="center" mt="sm">
|
<Group justify="center" mt="sm">
|
||||||
{playerItems.map((i) => !i.disabled && builtDataItems[i.id])}
|
{playerItems.map((i) => !i.disabled && builtDataItems[i.id])}
|
||||||
|
|||||||
Reference in New Issue
Block a user