Updated on 2026-08-14
This commit is contained in:
parent
faf6c2e31f
commit
0ca6412e31
1 changed files with 3 additions and 0 deletions
|
|
@ -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() }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue