mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-11 15:29:15 +01:00
impl shuffle, controls are temp
This commit is contained in:
@@ -48,13 +48,13 @@ const ArtistDetails: React.FC<{ id: string }> = ({ id }) => {
|
||||
const TopSongs = () => (
|
||||
<>
|
||||
<Text style={styles.header}>Top Songs</Text>
|
||||
{artist.topSongs.map(s => (
|
||||
{artist.topSongs.map((s, i) => (
|
||||
<SongItem
|
||||
key={s.id}
|
||||
key={i}
|
||||
song={s}
|
||||
showArt={true}
|
||||
subtitle="album"
|
||||
onPress={() => setQueue(artist.topSongs, `Top Songs: ${artist.name}`, s.id)}
|
||||
onPress={() => setQueue(artist.topSongs, `Top Songs: ${artist.name}`, i)}
|
||||
/>
|
||||
))}
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user