mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 11:47:25 +01:00
Show current item in player bar
This commit is contained in:
parent
232faa6a2f
commit
2d4f3d73cf
6 changed files with 53 additions and 27 deletions
|
|
@ -58,14 +58,14 @@ impl PlaylistTile {
|
|||
}
|
||||
|
||||
if let Some(item) = item {
|
||||
if let Some(title) = item.title() {
|
||||
imp.title_label.set_label(&title);
|
||||
if item.is_title() {
|
||||
imp.title_label.set_label(&item.title());
|
||||
imp.title_label.set_visible(true);
|
||||
}
|
||||
|
||||
if let Some(performances) = item.performers() {
|
||||
imp.performances_label.set_label(&performances);
|
||||
imp.performances_label.set_visible(true);
|
||||
if let Some(performances) = item.performers() {
|
||||
imp.performances_label.set_label(&performances);
|
||||
imp.performances_label.set_visible(true);
|
||||
}
|
||||
}
|
||||
|
||||
if let Some(part_title) = item.part_title() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue