Commit a999a612 authored by Tranter Madi's avatar Tranter Madi 🌧
Browse files

Handle label of playlist entry that doesn't have Album/Artist

parent 0242be13
Pipeline #171522 passed with stage
in 4 minutes and 21 seconds
......@@ -241,12 +241,11 @@ BasePlayListDelegate {
}
Loader {
active: !playListEntry.grouped
active: !playListEntry.grouped && (artist || album)
visible: active
Layout.fillWidth: true
sourceComponent: LabelWithToolTip {
id: artistLabel
text: artist + " - " + album
text: [artist, album].filter(Boolean).join(" - ")
type: Kirigami.Heading.Type.Secondary
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment