Updated on 2026-08-14
This commit is contained in:
parent
b2291e9864
commit
fb0cf652ca
3 changed files with 59 additions and 60 deletions
|
|
@ -139,10 +139,8 @@ internal class SwapViewModel @Inject constructor(
|
|||
runCatching(dispatchers.io) {
|
||||
swapInteractor.getTokensDataState(currency)
|
||||
}.onSuccess { state ->
|
||||
dataState = dataState.copy(
|
||||
fromCryptoCurrency = state.preselectTokens.fromToken,
|
||||
toCryptoCurrency = state.preselectTokens.toToken,
|
||||
)
|
||||
// dataState = dataState.copy(
|
||||
// )
|
||||
cryptoCurrency = state.initialCryptoCurrency
|
||||
// updateTokensState(dataState = state.foundTokensState)
|
||||
// startLoadingQuotes(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue