Updated on 2026-08-14

This commit is contained in:
Tangem 2023-12-20 12:38:52 +03:00
commit 09e6c6c942

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