Allow skipping past current song in empty queue

This commit is contained in:
Max Isom 2020-03-16 12:01:22 -05:00
parent 18e851821c
commit 53cd705bde
3 changed files with 11 additions and 2 deletions

View file

@ -78,4 +78,8 @@ export default class {
size(): number {
return this.queue.length;
}
isEmpty(): boolean {
return this.get().length === 0;
}
}