Updated on 2026-08-14
This commit is contained in:
parent
cf4b6e3792
commit
56bea85404
2 changed files with 3 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ import com.tangem.wallet.R
|
|||
|
||||
interface TapErrors
|
||||
|
||||
interface ArgError : TapErrors {
|
||||
interface ArgError{
|
||||
val args: List<Any>?
|
||||
}
|
||||
|
||||
|
|
@ -35,7 +35,7 @@ sealed class TapError(
|
|||
object InvalidFeeValue : TapError(R.string.invalid_fee_value)
|
||||
data class DustAmount(override val args: List<Any>) : TapError(R.string.dust_amount)
|
||||
object DustChange : TapError(R.string.dust_change)
|
||||
data class CreateAccountUnderfunded(override val args: List<Any>) : TapError(R.string.create_account_underfunded), ArgError
|
||||
data class CreateAccountUnderfunded(override val args: List<Any>) : TapError(R.string.create_account_underfunded)
|
||||
|
||||
data class ValidateTransactionErrors(
|
||||
override val errorList: List<TapError>,
|
||||
|
|
|
|||
|
|
@ -82,6 +82,7 @@ class AmountMiddleware {
|
|||
dispatch(FeeAction.RequestFee)
|
||||
dispatch(FeeAction.ChangeLayoutVisibility(main = true, controls = true, chipGroup = true))
|
||||
dispatch(FeeActionUi.ChangeIncludeFee(true))
|
||||
dispatch(AmountActionUi.CheckAmountToSend)
|
||||
}
|
||||
|
||||
private fun toggleMainCurrency(appState: AppState?, dispatch: (Action) -> Unit) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue