Updated on 2026-08-14

This commit is contained in:
Tangem 2023-11-17 10:54:00 +02:00
parent b2291e9864
commit fb0cf652ca
3 changed files with 59 additions and 60 deletions

View file

@ -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(