Skip to content

Commit

Permalink
Hide card brand logo list for bcmc
Browse files Browse the repository at this point in the history
COAND-795
  • Loading branch information
ozgur00 committed Oct 31, 2023
1 parent b5ae41a commit 3ac1bf1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,9 @@ class DefaultCardDelegate(
private fun isCardListVisible(
cardBrands: List<CardListItem>,
detectedCardTypes: List<DetectedCardType>
): Boolean = cardBrands.isNotEmpty() && detectedCardTypes.isEmpty()
): Boolean = cardBrands.isNotEmpty() &&
detectedCardTypes.isEmpty() &&
paymentMethod.type == PaymentMethodTypes.SCHEME

override fun getPaymentMethodType(): String {
return paymentMethod.type ?: PaymentMethodTypes.UNKNOWN
Expand Down

0 comments on commit 3ac1bf1

Please sign in to comment.