Updated on 2026-08-14
This commit is contained in:
parent
68410e14b8
commit
27b6caeaeb
4 changed files with 23 additions and 15 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue