Updated on 2026-08-14

This commit is contained in:
Tangem 2023-11-29 11:22:06 +03:00
commit 39a01f3738
9 changed files with 152 additions and 15 deletions

View file

@ -515,7 +515,7 @@ internal class StateBuilder(
// todo use if needed later
// DataError.InsufficientLiquidity -> TODO()
// DataError.NoError -> TODO()
is DataError.Error -> addWarning(uiState, error.message, true, onClick)
is DataError.ExchangeTooSmallAmountError -> addWarning(uiState, error.amount.toString(), true, onClick)
else -> addWarning(uiState, null, false) {}
}
}