Updated on 2026-08-14

This commit is contained in:
Tangem 2021-09-06 22:30:26 +03:00
commit 8eeaf33e6c
4 changed files with 1444 additions and 6 deletions

View file

@ -76,7 +76,7 @@ dependencies {
implementation 'com.google.android.play:core-ktx:1.8.1'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
implementation 'com.tangem:blockchain:develop-36'
implementation 'com.tangem:blockchain:develop-38'
implementation 'com.tangem.tangem-sdk-kotlin:core:develop-47'
implementation 'com.tangem.tangem-sdk-kotlin:android:develop-47'

File diff suppressed because it is too large Load diff

View file

@ -1 +1,14 @@
[]
[
{
"symbol" : "HEM",
"decimalCount" : 8,
"contractAddress" : "HEM-452",
"blockchain" : {
"key" : "binance",
"curve" : "secp256k1",
"testnet" : false
},
"customIconUrl" : "https://assets.trustwalletapp.com/blockchains/binance/assets/MATIC-84A/logo.png",
"name" : "Hemster - 452"
}
]

View file

@ -216,10 +216,7 @@ data class WalletData(
) {
fun shouldShowMultipleAddress(): Boolean {
val listOfAddresses = walletAddresses?.list ?: return false
return (currency?.blockchain == Blockchain.Bitcoin ||
currency?.blockchain == Blockchain.BitcoinTestnet ||
currency?.blockchain == Blockchain.CardanoShelley) &&
listOfAddresses.size > 1
return listOfAddresses.size > 1
}
}