mirror of
https://github.com/Jellify-Music/App.git
synced 2025-12-20 02:00:38 -06:00
Fix issue where the tracks list started playback at the wrong index (#759)
This commit is contained in:
@@ -75,7 +75,10 @@ export default function Tracks({
|
||||
index={0}
|
||||
track={track}
|
||||
testID={`track-item-${index}`}
|
||||
tracklist={tracksToDisplay.slice(index, index + 50)}
|
||||
tracklist={tracksToDisplay.slice(
|
||||
tracksToDisplay.indexOf(track),
|
||||
tracksToDisplay.indexOf(track) + 50,
|
||||
)}
|
||||
queue={queue}
|
||||
/>
|
||||
) : null
|
||||
|
||||
Reference in New Issue
Block a user