Updated on 2026-08-14

This commit is contained in:
Tangem 2023-03-07 13:32:47 +03:00
parent 3b63151a79
commit efad059d42
7 changed files with 65 additions and 35 deletions

View file

@ -371,7 +371,7 @@ internal class SwapViewModel @Inject constructor(
private fun onMaxAmountClicked() {
dataState.fromCurrency?.let {
val balance = swapInteractor.getTokenBalance(it)
val balance = swapInteractor.getTokenBalance(currency.networkId, it)
onAmountChanged(balance.formatToUIRepresentation())
}
}