Updated on 2026-08-14
This commit is contained in:
parent
86fa98c87b
commit
5d47619e8f
2 changed files with 4 additions and 0 deletions
|
|
@ -703,6 +703,7 @@ internal class StateBuilder(
|
|||
return uiState.copy(
|
||||
sendCardData = uiState.sendCardData.copy(
|
||||
balance = cryptoCurrencyStatus.getFormattedAmount(isNeedSymbol = false),
|
||||
token = cryptoCurrencyStatus,
|
||||
),
|
||||
)
|
||||
}
|
||||
|
|
@ -716,6 +717,7 @@ internal class StateBuilder(
|
|||
return uiState.copy(
|
||||
receiveCardData = uiState.receiveCardData.copy(
|
||||
balance = cryptoCurrencyStatus.getFormattedAmount(isNeedSymbol = false),
|
||||
token = cryptoCurrencyStatus,
|
||||
),
|
||||
)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -745,6 +745,8 @@ internal class SwapViewModel @Inject constructor(
|
|||
dataState = dataState.copy(toCryptoCurrency = it)
|
||||
stateBuilder.updateReceiveCurrencyBalance(uiState, it)
|
||||
}
|
||||
|
||||
startLoadingQuotesFromLastState(isSilent = true)
|
||||
}
|
||||
.flowOn(dispatchers.main)
|
||||
.launchIn(viewModelScope)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue