Updated on 2026-08-14

This commit is contained in:
Tangem 2022-04-26 12:16:38 +03:00
parent cc7342658b
commit 198ccef50e

View file

@ -21,6 +21,9 @@ fun CurrencyExchangeStatus.buyIsAllowed(currency: Currency): Boolean {
if (store.state.globalState.configManager?.config?.isTopUpEnabled == false) return false
if (!isBuyAllowed) return false
//TODO: temporary, for the 3.32 release, unlock all buy button
return true
return when (currency) {
is Currency.Blockchain -> {
val blockchain = currency.blockchain