Fix track search item not filling width if content is too short

This commit is contained in:
arkon 2023-09-17 11:03:39 -04:00
parent 3ad7add3b5
commit e5f83d0c6e

View file

@ -223,6 +223,7 @@ private fun SearchResultItem(
val borderColor = if (selected) MaterialTheme.colorScheme.outline else Color.Transparent
Box(
modifier = Modifier
.fillMaxWidth()
.padding(horizontal = 12.dp)
.clip(shape)
.background(MaterialTheme.colorScheme.surface)