mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-27 04:07:25 +01:00
recording tile: Add option to append to playlist
This commit is contained in:
parent
13fed08ebf
commit
610a3d8ff9
5 changed files with 32 additions and 7 deletions
|
|
@ -84,12 +84,14 @@ impl AlbumPage {
|
|||
.build();
|
||||
|
||||
obj.imp().title_label.set_label(&album.to_string());
|
||||
obj.imp().subtitle_label.set_label(&album.performers_string());
|
||||
obj.imp()
|
||||
.subtitle_label
|
||||
.set_label(&album.performers_string());
|
||||
|
||||
for recording in &album.recordings {
|
||||
obj.imp()
|
||||
.recordings_flow_box
|
||||
.append(&RecordingTile::new(navigation, library, recording));
|
||||
.append(&RecordingTile::new(navigation, library, player, recording));
|
||||
}
|
||||
|
||||
obj.imp().album.set(album).unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue