Updated on 2026-08-14

This commit is contained in:
Tangem 2025-09-26 13:44:33 +05:00
parent 0f0196ca94
commit d92c319583
2 changed files with 9 additions and 4 deletions

View file

@ -1171,7 +1171,7 @@ internal class TokenDetailsModel @Inject constructor(
override fun onYieldSupplyWarningAcknowledged(tokenAction: TokenAction) {
bottomSheetNavigation.dismiss()
modelScope.launch {
if(tokenAction != TokenAction.Info) {
if (tokenAction != TokenAction.Info) {
saveViewedYieldSupplyWarningUseCase(cryptoCurrency.name)
}
if (tokenAction == TokenAction.Receive) {

View file

@ -3,11 +3,14 @@ package com.tangem.feature.tokendetails.presentation.tokendetails.ui.components
import android.content.res.Configuration
import androidx.compose.animation.Crossfade
import androidx.compose.foundation.clickable
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.layout.*
import androidx.compose.material3.Surface
import androidx.compose.material3.Icon
import androidx.compose.material3.Text
import androidx.compose.material3.ripple
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.tooling.preview.Preview
@ -175,9 +178,11 @@ private fun CryptoBalance(
Icon(
modifier = Modifier
.size(TangemTheme.dimens.size16)
.clickable {
yieldSupplyState.yieldInfoClick()
},
.clickable(
interactionSource = remember { MutableInteractionSource() },
indication = ripple(bounded = false),
onClick = { yieldSupplyState.yieldInfoClick() },
),
painter = painterResource(id = R.drawable.ic_information_24),
tint = TangemTheme.colors.icon.inactive,
contentDescription = null,