Updated on 2026-08-14
This commit is contained in:
parent
cca12971ee
commit
5a14ad2479
1 changed files with 5 additions and 6 deletions
|
|
@ -1,13 +1,12 @@
|
|||
package com.tangem.tap.domain
|
||||
|
||||
import com.tangem.commands.Card
|
||||
import java.util.*
|
||||
|
||||
class TapWorkarounds(val card: Card) {
|
||||
|
||||
val isStart2Coin: Boolean = card.cardData?.issuerName == START_2_COIN_ISSUER
|
||||
|
||||
fun isPayisPayIdEnabled(): Boolean {
|
||||
if (isStart2Coin) return false
|
||||
return true
|
||||
}
|
||||
val isStart2Coin: Boolean =
|
||||
card.cardData?.issuerName?.toLowerCase(Locale.US) == START_2_COIN_ISSUER
|
||||
|
||||
companion object {
|
||||
const val START_2_COIN_ISSUER = "start2coin"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue