Updated on 2026-08-14

This commit is contained in:
Tangem 2025-12-03 13:54:00 +04:00
parent 448a472832
commit f22fbb88e5
2 changed files with 13 additions and 3 deletions

View file

@ -1251,8 +1251,14 @@ internal class TokenDetailsModel @Inject constructor(
}
private fun handleNavigationParam() {
if (params.navigationAction is NavigationAction.Staking) {
openStaking()
when (val action = params.navigationAction) {
is NavigationAction.Staking -> openStaking()
is NavigationAction.YieldSupply -> if (action.isActive) {
modelScope.launch(dispatchers.default) {
fetchCurrencyStatusUseCase(userWalletId = userWalletId, id = cryptoCurrency.id)
}
}
else -> Unit
}
}