Updated on 2026-08-14
This commit is contained in:
parent
bc3534c277
commit
6a15cfd2e4
5 changed files with 96 additions and 38 deletions
|
|
@ -67,16 +67,17 @@ private fun LazyListScope.contentItems(
|
|||
},
|
||||
contentType = txHistoryItems.itemContentType { it::class.java },
|
||||
itemContent = { index ->
|
||||
val item = txHistoryItems[index]!!
|
||||
TxHistoryListItem(
|
||||
state = item,
|
||||
modifier = modifier
|
||||
.animateItemPlacement()
|
||||
.roundedShapeItemDecoration(
|
||||
currentIndex = index,
|
||||
lastIndex = txHistoryItems.itemSnapshotList.lastIndex,
|
||||
),
|
||||
)
|
||||
txHistoryItems[index]?.let { item ->
|
||||
TxHistoryListItem(
|
||||
state = item,
|
||||
modifier = modifier
|
||||
.animateItemPlacement()
|
||||
.roundedShapeItemDecoration(
|
||||
currentIndex = index,
|
||||
lastIndex = txHistoryItems.itemSnapshotList.lastIndex,
|
||||
),
|
||||
)
|
||||
}
|
||||
},
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue