fix return type

This commit is contained in:
Henrik Friedrichsen
2019-03-04 19:15:13 +01:00
parent 92811a2ce3
commit 6d243eeb3c

View File

@@ -38,7 +38,7 @@ impl PlaylistView {
}
}
fn create_button(&self, playlist: &SimplifiedPlaylist) -> BoxView<Button> {
fn create_button(&self, playlist: &SimplifiedPlaylist) -> Button {
let spotify_ref = self.spotify.clone();
let queue_ref = self.queue.clone();