[bugfix]: fix repeat one with shuffle and one track
This commit is contained in:
parent
f467a85a86
commit
47ce0ed47b
1 changed files with 8 additions and 7 deletions
|
@ -342,7 +342,8 @@ export const usePlayerStore = create<PlayerSlice>()(
|
||||||
else previousSongIndex = shuffledIndex - 1;
|
else previousSongIndex = shuffledIndex - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
const next = nextSongIndex
|
const next =
|
||||||
|
nextSongIndex !== undefined
|
||||||
? (queue.find(
|
? (queue.find(
|
||||||
(song) =>
|
(song) =>
|
||||||
song.uniqueId ===
|
song.uniqueId ===
|
||||||
|
|
Reference in a new issue