Updated on 2026-08-14

This commit is contained in:
Tangem 2025-04-28 15:50:50 +05:00
parent 68410e14b8
commit 27b6caeaeb
4 changed files with 23 additions and 15 deletions

View file

@ -39,7 +39,9 @@ internal class DefaultPromoRepository(
default = true,
).map { shouldShow ->
if (promoId == PromoId.Referral) {
!referralRepository.isReferralParticipant(userWalletId) && shouldShow
runCatching {
!referralRepository.isReferralParticipant(userWalletId) && shouldShow
}.getOrDefault(false)
} else {
shouldShow
}