Updated on 2026-08-14
This commit is contained in:
parent
d1a571094e
commit
24ddb19639
4 changed files with 6 additions and 6 deletions
|
|
@ -5,7 +5,7 @@ import androidx.compose.ui.Modifier
|
|||
import com.tangem.core.ui.components.transactions.state.TxHistoryState
|
||||
|
||||
@Composable
|
||||
internal fun TxHistoryContentItem (state: TxHistoryState.TxHistoryItemState, modifier: Modifier = Modifier) {
|
||||
internal fun TxHistoryContentItem(state: TxHistoryState.TxHistoryItemState, modifier: Modifier = Modifier) {
|
||||
when (state) {
|
||||
is TxHistoryState.TxHistoryItemState.GroupTitle -> {
|
||||
TxHistoryGroupTitle(config = state, modifier = modifier)
|
||||
|
|
|
|||
|
|
@ -42,4 +42,4 @@ private fun Preview_TransactionsBlockGroupTitle_Dark() {
|
|||
TangemTheme(isDark = true) {
|
||||
TxHistoryGroupTitle(config = TxHistoryItemState.GroupTitle(title = "Today"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -63,4 +63,4 @@ private fun Preview_TransactionsBlockTitle_Dark() {
|
|||
TangemTheme(isDark = true) {
|
||||
TxHistoryTitle(config = TxHistoryState.TxHistoryItemState.Title(onExploreClick = {}))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -26,9 +26,9 @@ internal fun LazyListScope.tokensListItems(state: WalletTokensListState, modifie
|
|||
modifier = modifier
|
||||
.animateItemPlacement()
|
||||
.roundedShapeItemDecoration(
|
||||
currentIndex = index,
|
||||
lastIndex = state.items.lastIndex,
|
||||
),
|
||||
currentIndex = index,
|
||||
lastIndex = state.items.lastIndex,
|
||||
),
|
||||
)
|
||||
},
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue