Updated on 2026-08-14
This commit is contained in:
parent
6d1a15724f
commit
26f5a1da82
3 changed files with 9 additions and 11 deletions
|
|
@ -77,6 +77,7 @@ class WalletConnectSdkHelper {
|
|||
|
||||
val transactionData = TransactionData(
|
||||
amount = Amount(value, wallet.blockchain),
|
||||
// TODO refactoring
|
||||
fee = Fee.Common(Amount(fee, wallet.blockchain)),
|
||||
sourceAddress = transaction.from,
|
||||
destinationAddress = transaction.to!!,
|
||||
|
|
|
|||
|
|
@ -8,17 +8,14 @@ import com.tangem.wallet.R
|
|||
object MultipleAddressUiHelper {
|
||||
|
||||
fun typeToId(type: AddressType, blockchain: Blockchain): Int {
|
||||
return when (blockchain) {
|
||||
in blockchainsSupportingSplit -> {
|
||||
if (type == AddressType.Legacy) {
|
||||
R.id.chip_legacy
|
||||
} else {
|
||||
R.id.chip_default
|
||||
}
|
||||
}
|
||||
else -> {
|
||||
View.NO_ID
|
||||
return if (blockchain in blockchainsSupportingSplit) {
|
||||
if (type == AddressType.Legacy) {
|
||||
R.id.chip_legacy
|
||||
} else {
|
||||
R.id.chip_default
|
||||
}
|
||||
} else {
|
||||
View.NO_ID
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[
|
||||
{
|
||||
"name": "OPTIMISM_SWAP_FEATURE_ENABLED",
|
||||
"version": "1.0.0"
|
||||
"version": "4.3.1"
|
||||
},
|
||||
{
|
||||
"name": "REDESIGNED_CUSTOM_TOKEN_SCREEN_ENABLED",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue