bar: resources/music: dynamic show/hide

This commit is contained in:
end-4
2025-04-11 16:03:54 +02:00
parent d9ed5434ac
commit c29041aa9e
7 changed files with 65 additions and 26 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ Rectangle {
horizontalAlignment: Text.AlignHCenter
elide: Text.ElideRight // Truncates the text on the right
color: Appearance.colors.colOnLayer1
text: `${cleanedTitle} ${activePlayer?.trackArtist}`
text: `${cleanedTitle}${activePlayer?.trackArtist ? ' • ' + activePlayer.trackArtist : ''}`
}
}