Updated on 2026-08-14

This commit is contained in:
Tangem 2023-07-12 13:11:05 +03:00
parent 6d1a15724f
commit 26f5a1da82
3 changed files with 9 additions and 11 deletions

View file

@ -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!!,

View file

@ -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
}
}

View file

@ -1,7 +1,7 @@
[
{
"name": "OPTIMISM_SWAP_FEATURE_ENABLED",
"version": "1.0.0"
"version": "4.3.1"
},
{
"name": "REDESIGNED_CUSTOM_TOKEN_SCREEN_ENABLED",