dont stop track
This commit is contained in:
committed by
Henrik Friedrichsen
parent
77e5de562d
commit
181f5e4918
@@ -272,7 +272,12 @@ impl Queue {
|
||||
if let Some(index) = self.previous_index() {
|
||||
self.play(index, false, false);
|
||||
} else {
|
||||
self.spotify.stop();
|
||||
let current = *self.current_track.read().unwrap();
|
||||
if let Some(index) = current {
|
||||
self.play(index, false, false);
|
||||
} else {
|
||||
self.spotify.stop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user