Updated on 2026-08-14
This commit is contained in:
parent
1ccb8d2ae7
commit
6d30ee8a2b
1 changed files with 4 additions and 4 deletions
|
|
@ -171,10 +171,10 @@ class TangemSdkManager(private val tangemSdk: TangemSdk, private val context: Co
|
|||
}
|
||||
|
||||
fun changeDisplayedCardIdNumbersCount(scanResponse: ScanResponse) {
|
||||
tangemSdk.config.cardIdDisplayFormat = if (scanResponse.isTangemTwins()) {
|
||||
CardIdDisplayFormat.LastLuhn(4)
|
||||
} else {
|
||||
CardIdDisplayFormat.Full
|
||||
tangemSdk.config.cardIdDisplayFormat = when {
|
||||
scanResponse.isTangemTwins() -> CardIdDisplayFormat.LastLuhn(4)
|
||||
scanResponse.isSaltPay() -> CardIdDisplayFormat.None
|
||||
else -> CardIdDisplayFormat.Full
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue