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