From 218f6f83b734106506c6fd60df69afe6eabbd870 Mon Sep 17 00:00:00 2001 From: Tangem Date: Mon, 30 Jun 2025 22:29:31 +0500 Subject: [PATCH] Updated on 2026-08-14 --- .../features/nft/details/ui/NFTDetailsInfoGroup.kt | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/features/nft/impl/src/main/kotlin/com/tangem/features/nft/details/ui/NFTDetailsInfoGroup.kt b/features/nft/impl/src/main/kotlin/com/tangem/features/nft/details/ui/NFTDetailsInfoGroup.kt index 5eac67fcd6..ed26f43de8 100644 --- a/features/nft/impl/src/main/kotlin/com/tangem/features/nft/details/ui/NFTDetailsInfoGroup.kt +++ b/features/nft/impl/src/main/kotlin/com/tangem/features/nft/details/ui/NFTDetailsInfoGroup.kt @@ -186,30 +186,22 @@ private fun Rarity(state: NFTAssetUM.Rarity, modifier: Modifier = Modifier) { .weight(1f) .padding( horizontal = TangemTheme.dimens.spacing6, - ) - .clickable( - interactionSource = remember { MutableInteractionSource() }, - indication = null, - onClick = state.onLabelClick, ), title = resourceReference(R.string.nft_details_rarity_label), value = stringReference(state.label), showInfoButton = true, + onBlockClick = state.onLabelClick, ) NFTDetailsGroupBlock( modifier = Modifier .weight(1f) .padding( horizontal = TangemTheme.dimens.spacing6, - ) - .clickable( - interactionSource = remember { MutableInteractionSource() }, - indication = null, - onClick = state.onRankClick, ), title = resourceReference(R.string.nft_details_rarity_rank), value = stringReference(state.rank), showInfoButton = true, + onBlockClick = state.onRankClick, ) } }