Updated on 2026-08-14

This commit is contained in:
Tangem 2023-12-19 18:06:45 +03:00
parent ef2cb2ce43
commit aa73219a2b

View file

@ -88,7 +88,7 @@ class GetCurrencyWarningsUseCase(
showSwapPromoTokenUseCase().conflate(),
flowOf(marketCryptoCurrencyRepository.isExchangeable(userWalletId, currency)).conflate(),
) { shouldShowSwapPromo, isExchangeable ->
if (shouldShowSwapPromo && isExchangeable) {
if (shouldShowSwapPromo && isExchangeable && currencyStatus.value !is CryptoCurrencyStatus.Unreachable) {
cryptoStatuses.fold(
ifLeft = { null },
ifRight = { cryptoCurrencyStatuses ->