fix(mpris): can_go_previous should always be true (#1346)
* make can_go_previous always true * can_go_previous whenever queue is non-empty * docs: Update CHANGELOG --------- Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
This commit is contained in:
@@ -289,7 +289,7 @@ impl MprisPlayer {
|
||||
|
||||
#[dbus_interface(property)]
|
||||
fn can_go_previous(&self) -> bool {
|
||||
self.queue.previous_index().is_some()
|
||||
self.queue.get_current().is_some()
|
||||
}
|
||||
|
||||
#[dbus_interface(property)]
|
||||
|
||||
Reference in New Issue
Block a user