Use a dot (•) instead of a hyphen (-) to separate track artists, albums

This commit is contained in:
Naveen 2023-07-16 05:42:07 +05:30
parent e71805a378
commit e0bb9bcf6d
No known key found for this signature in database
GPG key ID: 0E155DAD31671DA3

View file

@ -211,9 +211,9 @@ class TracksAdapter(
track_frame?.isSelected = selectedKeys.contains(track.hashCode())
track_title.text = if (textToHighlight.isEmpty()) track.title else track.title.highlightTextPart(textToHighlight, properPrimaryColor)
track_info.text = if (textToHighlight.isEmpty()) {
"${track.artist} - ${track.album}"
"${track.artist} ${track.album}"
} else {
("${track.artist} - ${track.album}").highlightTextPart(textToHighlight, properPrimaryColor)
("${track.artist} ${track.album}").highlightTextPart(textToHighlight, properPrimaryColor)
}
track_drag_handle.beVisibleIf(isPlaylistContent && selectedKeys.isNotEmpty())
track_drag_handle.applyColorFilter(textColor)