Updated on 2026-08-14
This commit is contained in:
parent
d5027aa5f0
commit
ec1e5c62fc
9 changed files with 19 additions and 12 deletions
|
|
@ -18,6 +18,7 @@ import com.tangem.domain.common.TapWorkarounds.isExcluded
|
|||
import com.tangem.domain.common.TapWorkarounds.isNotSupportedInThatRelease
|
||||
import com.tangem.domain.common.TapWorkarounds.isStart2Coin
|
||||
import com.tangem.domain.common.TapWorkarounds.isTangemTwins
|
||||
import com.tangem.domain.common.TapWorkarounds.isVisa
|
||||
import com.tangem.domain.common.TwinsHelper
|
||||
import com.tangem.domain.common.configs.CardConfig
|
||||
import com.tangem.domain.common.util.derivationStyleProvider
|
||||
|
|
@ -172,10 +173,10 @@ private class ScanWalletProcessor(
|
|||
}
|
||||
|
||||
private fun determineProductTypeForSingleCurrencyWallet(card: CardDTO): ProductType {
|
||||
return if (card.isStart2Coin) {
|
||||
ProductType.Start2Coin
|
||||
} else {
|
||||
ProductType.Note
|
||||
return when {
|
||||
card.isStart2Coin -> ProductType.Start2Coin
|
||||
card.isVisa -> ProductType.Visa
|
||||
else -> ProductType.Note
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue