Skip to content

Commit

Permalink
make can_go_previous always true
Browse files Browse the repository at this point in the history
  • Loading branch information
eulerfan271 committed Dec 8, 2023
1 parent 0a1a9bd commit 4cebf32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mpris.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ impl MprisPlayer {

#[dbus_interface(property)]
fn can_go_previous(&self) -> bool {
self.queue.previous_index().is_some()
true
}

#[dbus_interface(property)]
Expand Down

0 comments on commit 4cebf32

Please sign in to comment.