Updated on 2026-08-14

This commit is contained in:
Tangem 2021-08-26 07:54:06 +00:00
commit dc1eb9d2ba
2 changed files with 2 additions and 5 deletions

View file

@ -75,7 +75,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'

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