Updated on 2026-08-14

This commit is contained in:
Tangem 2020-09-19 21:34:59 +03:00
parent 0a9c647f51
commit a8dd36e98c
3 changed files with 3 additions and 3 deletions

View file

@ -60,7 +60,7 @@ class RequestFeeMiddleware {
dispatch(FeeAction.ChangeLayoutVisibility(main = true, chipGroup = false))
}
} else {
dispatch(FeeAction.ChangeLayoutVisibility(main = true, controls = true, chipGroup = true))
dispatch(FeeAction.ChangeLayoutVisibility(main = true, chipGroup = true))
}
}
is Result.Failure -> {

View file

@ -40,7 +40,7 @@ data class AddressPayIdState(
}
fun copyPayIdWalletAddress(payId: String, address: String): AddressPayIdState {
val truncated = truncateHandler?.invoke(address) ?: address
val truncated = truncateHandler?.invoke(payId) ?: address
return this.copy(
etFieldValue = payId,
normalFieldValue = payId,

View file

@ -17,7 +17,7 @@ data class FeeState(
val currentFee: Value<Amount>? = null,
val feeIsIncluded: Boolean = false,
val mainLayoutIsVisible: Boolean = false,
val controlsLayoutIsVisible: Boolean = true,
val controlsLayoutIsVisible: Boolean = false,
val feeChipGroupIsVisible: Boolean = true,
val error: FeeAction.Error? = null,
override val stateId: StateId = StateId.FEE