Updated on 2026-08-14

This commit is contained in:
Tangem 2023-08-10 16:55:48 +05:00
parent d1a571094e
commit 24ddb19639
4 changed files with 6 additions and 6 deletions

View file

@ -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)

View file

@ -42,4 +42,4 @@ private fun Preview_TransactionsBlockGroupTitle_Dark() {
TangemTheme(isDark = true) {
TxHistoryGroupTitle(config = TxHistoryItemState.GroupTitle(title = "Today"))
}
}
}

View file

@ -63,4 +63,4 @@ private fun Preview_TransactionsBlockTitle_Dark() {
TangemTheme(isDark = true) {
TxHistoryTitle(config = TxHistoryState.TxHistoryItemState.Title(onExploreClick = {}))
}
}
}

View file

@ -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,
),
)
},
)