main screen: Add button to start random playback

This commit is contained in:
Elias Projahn 2022-02-08 18:18:29 +01:00
parent 487fd0a048
commit 3350c6be95
5 changed files with 57 additions and 22 deletions

View file

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