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

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