Updated on 2026-08-14

This commit is contained in:
Tangem 2023-12-20 11:57:01 +03:00
parent eb0b9ca69c
commit ed7d2eff25
2 changed files with 6 additions and 6 deletions

View file

@ -378,6 +378,7 @@ internal class StateBuilder(
}
private fun getSwapButtonEnabled(preparedSwapConfigState: PreparedSwapConfigState): Boolean {
if (preparedSwapConfigState.hasOutgoingTransaction) return false
return when (preparedSwapConfigState.includeFeeInAmount) {
IncludeFeeInAmount.BalanceNotEnough -> false
IncludeFeeInAmount.Excluded ->