List results: fix first item rounded corners
This commit is contained in:
parent
2018d914e2
commit
b640e08d98
@ -67,7 +67,7 @@ fun <T : SavableSearchable> LazyListScope.ListResults(
|
||||
reverse = reverse,
|
||||
isExpanded = showDetails,
|
||||
isBeforeExpanded = selectedIndex - 1 == it,
|
||||
isAfterExpanded = selectedIndex + 1 == it,
|
||||
isAfterExpanded = selectedIndex >= 0 && selectedIndex + 1 == it,
|
||||
) {
|
||||
itemContent(item, showDetails, it)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user