fix: set correct initial index in play
This commit is contained in:
parent
052f89890b
commit
35b6d042f9
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ class AudioPlayerService {
|
|||
);
|
||||
await _player.setAudioSource(
|
||||
_queue,
|
||||
initialIndex: queuePast.isEmpty ? 0 : queuePast.length - 1,
|
||||
initialIndex: queuePast.length,
|
||||
initialPosition: Duration.zero,
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue