mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-27 04:07:25 +01:00
main screen: Add button to start random playback
This commit is contained in:
parent
487fd0a048
commit
3350c6be95
5 changed files with 57 additions and 22 deletions
|
|
@ -163,7 +163,7 @@ impl Screen<(), ()> for PlayerScreen {
|
|||
|
||||
this.play_button
|
||||
.connect_clicked(clone!(@weak this => move |_| {
|
||||
this.handle.backend.pl().play_pause();
|
||||
this.handle.backend.pl().play_pause().unwrap();
|
||||
}));
|
||||
|
||||
this.next_button
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue