Updated on 2026-08-14
This commit is contained in:
parent
d616571df4
commit
d2ca91a522
2 changed files with 10 additions and 8 deletions
|
|
@ -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),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 },
|
||||
)
|
||||
},
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue