mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-11 07:29:14 +01:00
show the artist as the song row subtitle
This commit is contained in:
@@ -121,7 +121,7 @@ fun SongRow(
|
|||||||
},
|
},
|
||||||
supportingContent = {
|
supportingContent = {
|
||||||
Text(
|
Text(
|
||||||
text = listOfNotNull(song.artist, song.album).joinToString(" • ").ifEmpty { "\u00A0" },
|
text = song.artist.orEmpty().ifEmpty { "\u00A0" },
|
||||||
color = if (isPlaying) MaterialTheme.colorScheme.primary else Color.Unspecified,
|
color = if (isPlaying) MaterialTheme.colorScheme.primary else Color.Unspecified,
|
||||||
maxLines = 1,
|
maxLines = 1,
|
||||||
overflow = TextOverflow.Ellipsis,
|
overflow = TextOverflow.Ellipsis,
|
||||||
|
|||||||
Reference in New Issue
Block a user