From d2ca91a522f49121926cb6ff0023c8e60fc8cdde Mon Sep 17 00:00:00 2001 From: Tangem Date: Wed, 16 Jul 2025 11:46:30 +0300 Subject: [PATCH] Updated on 2026-08-14 --- .../ui/components/TokenDetailsTopAppBar.kt | 4 ++-- .../multicurrency/MultiCurrencyContent.kt | 14 ++++++++------ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/features/tokendetails/impl/src/main/kotlin/com/tangem/feature/tokendetails/presentation/tokendetails/ui/components/TokenDetailsTopAppBar.kt b/features/tokendetails/impl/src/main/kotlin/com/tangem/feature/tokendetails/presentation/tokendetails/ui/components/TokenDetailsTopAppBar.kt index e6bc3e7af0..138b337cc7 100644 --- a/features/tokendetails/impl/src/main/kotlin/com/tangem/feature/tokendetails/presentation/tokendetails/ui/components/TokenDetailsTopAppBar.kt +++ b/features/tokendetails/impl/src/main/kotlin/com/tangem/feature/tokendetails/presentation/tokendetails/ui/components/TokenDetailsTopAppBar.kt @@ -34,7 +34,7 @@ internal fun TokenDetailsTopAppBar(config: TokenDetailsTopAppBarConfig) { painter = painterResource(id = R.drawable.ic_back_24), tint = TangemTheme.colors.icon.primary1, contentDescription = "Back", - modifier = Modifier.testTag(TokenDetailsTopBarTestTags.BACK_BUTTON) + modifier = Modifier.testTag(TokenDetailsTopBarTestTags.BACK_BUTTON), ) } }, @@ -49,7 +49,7 @@ internal fun TokenDetailsTopAppBar(config: TokenDetailsTopAppBarConfig) { painter = painterResource(id = R.drawable.ic_more_vertical_24), tint = TangemTheme.colors.icon.primary1, contentDescription = "More", - modifier = Modifier.testTag(TokenDetailsTopBarTestTags.MORE_BUTTON) + modifier = Modifier.testTag(TokenDetailsTopBarTestTags.MORE_BUTTON), ) } } diff --git a/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/ui/components/multicurrency/MultiCurrencyContent.kt b/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/ui/components/multicurrency/MultiCurrencyContent.kt index b660e95e6d..d10cd0f107 100644 --- a/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/ui/components/multicurrency/MultiCurrencyContent.kt +++ b/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/ui/components/multicurrency/MultiCurrencyContent.kt @@ -65,12 +65,14 @@ private fun LazyListScope.contentItems( TokenListItem( state = item, isBalanceHidden = isBalanceHidden, - modifier = modifier.roundedShapeItemDecoration( - currentIndex = index, - lastIndex = items.lastIndex, - backgroundColor = TangemTheme.colors.background.primary, - ).testTag(MainScreenTestTags.TOKEN_LIST_ITEM) - .semantics { lazyListItemPosition = index }, + modifier = modifier + .roundedShapeItemDecoration( + currentIndex = index, + lastIndex = items.lastIndex, + backgroundColor = TangemTheme.colors.background.primary, + ) + .testTag(MainScreenTestTags.TOKEN_LIST_ITEM) + .semantics { lazyListItemPosition = index }, ) }, )