Updated on 2026-08-14
This commit is contained in:
parent
1c17a8389a
commit
83900d8417
1 changed files with 1 additions and 3 deletions
|
|
@ -48,9 +48,7 @@ internal class DefaultTangemPayEligibilityManager @Inject constructor(
|
|||
}
|
||||
|
||||
override suspend fun getTangemPayAvailability(entryPoint: TangemPayEntryPoint): Boolean {
|
||||
val eligibility = onboardingRepository.getCustomerEligibility().ifEmpty {
|
||||
onboardingRepository.checkCustomerEligibility()
|
||||
}
|
||||
val eligibility = onboardingRepository.checkCustomerEligibility()
|
||||
val type = entryPoint.toEligibilityType()
|
||||
return eligibility.any { it == type }
|
||||
.also { isEligible -> if (!isEligible) reset() }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue