Updated on 2026-08-14

This commit is contained in:
Tangem 2024-12-09 10:54:57 +03:00
parent f4422dd3fb
commit 011786b765
4 changed files with 8 additions and 3 deletions

View file

@ -585,7 +585,7 @@ class DefaultWalletManagersFacade(
return withContext(dispatchers.io) {
val walletManager = getOrCreateWalletManager(userWalletId = userWalletId, network = currency.network)
val currencyType = cryptoCurrencyTypeConverter.convert(currency)
if (walletManager !is AssetRequirementsManager || !walletManager.hasRequirements(currencyType)) {
if (walletManager !is AssetRequirementsManager) {
return@withContext null
}

View file

@ -13,6 +13,7 @@ internal class SdkRequirementsConditionConverter : Converter<SdkRequirementsCond
feeCurrencySymbol = value.feeAmount.currencySymbol,
decimals = value.feeAmount.decimals,
)
is SdkRequirementsCondition.IncompleteTransaction -> TODO()
}
}
}

View file

@ -88,9 +88,9 @@ markdownComposeView = "0.5.4"
# endregion Other libraries
# region Tangem
tangemBlockchainSdk = "develop-879"
tangemBlockchainSdk = "release-app_5.19-881"
#tangemBlockchainSdk = "0.0.1" # Keep it! - used for local builds
tangemCardSdk = "develop-410"
tangemCardSdk = "release-app_5.19-412"
#tangemCardSdk = "0.0.1" # Keep it! - used for local builds ^
tangemVico = "2.0.0-alpha.25-tangem17"
#tangemVico = "0.0.1" # Keep it! - used for local builds ^

View file

@ -21,6 +21,10 @@ internal class DefaultBlockchainDataStorage(
return appPreferencesStore.getSyncOrNull(key = stringPreferencesKey(name = key))
}
override suspend fun remove(key: String) {
TODO("Not yet implemented")
}
override suspend fun store(key: String, value: String) {
appPreferencesStore.edit {
it[stringPreferencesKey(key)] = value