Updated on 2026-08-14

This commit is contained in:
Tangem 2025-11-06 12:07:22 +01:00
parent faf6c2e31f
commit 0ca6412e31

View file

@ -293,6 +293,9 @@ internal class OnrampV2MainComponentModel @Inject constructor(
quotes.all { it is OnrampQuote.AmountError } -> {
_state.update { amountStateFactory.getSecondaryFieldAmountErrorState(quotes) }
}
quotes.none { it is OnrampQuote.Data } -> {
_state.update { stateFactory.getErrorState(onRefresh = ::onRetryQuotes) }
}
else -> {
_state.update { amountStateFactory.getAmountSecondaryFieldResetState() }
}