Updated on 2026-08-14

This commit is contained in:
Tangem 2022-10-26 10:29:56 +05:00
parent f472f69f37
commit 26ca147cf1
6 changed files with 68 additions and 25 deletions

View file

@ -0,0 +1,13 @@
package com.tangem.tap.common.extensions
import com.tangem.domain.common.SaltPayWorkaround
import com.tangem.operations.backup.BackupService
/**
[REDACTED_AUTHOR]
*/
fun BackupService.primaryCardIsSaltPay(): Boolean {
return primaryCardId?.slice(0..3)?.let {
SaltPayWorkaround.isVisaBatchId(it)
} ?: false
}