fixed bug in append to manually queued songs

This commit is contained in:
Moritz Weber 2023-03-14 21:12:16 +01:00
parent b15ec33ab4
commit 727168c128
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
## Unreleased Changes
- Fixed bug in "Append to manually queued songs"
## 1.2.0 ## 1.2.0
- Upgrade to Flutter 3.7 & dependency updates - Upgrade to Flutter 3.7 & dependency updates

View file

@ -435,7 +435,7 @@ class DynamicQueue implements ManagedQueueInfo {
if (index >= queue.length) return queue.length; if (index >= queue.length) return queue.length;
int i = index; int i = index;
while (_queue[i].source == QueueItemSource.added) { while (i < queue.length && _queue[i].source == QueueItemSource.added) {
i++; i++;
} }