Commit af7dc83e authored by Yerrey Dev's avatar Yerrey Dev
Browse files

Make sure artist is not null to avoid qml errors

parent a41fdbcb
Pipeline #196337 passed with stage
in 5 minutes and 16 seconds
......@@ -152,7 +152,7 @@ Item {
text: i18nc("Button to navigate to the artist of the album", "Display Artist")
icon.name: "view-media-artist"
display: Kirigami.Settings.isMobile && navigationBar.isWidescreen ? AbstractButton.TextBesideIcon : AbstractButton.IconOnly
onClicked: showArtist(authorLabel.text)
onClicked: if (secondaryTitle) { showArtist(secondaryTitle) }
}
}
Component {
......
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