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:
eulerfan271
2023-12-09 05:51:17 -05:00
committed by GitHub
parent 0a1a9bdd4d
commit a826115907
2 changed files with 2 additions and 1 deletions

View File

@@ -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)]