Skip to content

Commit

Permalink
Use correct cvc icon in card form view (#5094)
Browse files Browse the repository at this point in the history
* Use correct cvc icon in card form view

* changelog
  • Loading branch information
skyler-stripe authored May 31, 2022
1 parent a04d2b0 commit 7f65c2f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 42 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

### Payments
* [FIXED][5079](https://github.com/stripe/stripe-android/pull/5079) Add 3ds2 url to list of completion URLs so callbacks work correctly.
* [FIXED][5094](https://github.com/stripe/stripe-android/pull/5094) Use correct cvc icon in card form view

## 20.4.0 - 2022-05-23
This release adds [appearance customization APIs](https://github.com/stripe/stripe-android/blob/master/paymentsheet/src/main/java/com/stripe/android/paymentsheet/PaymentSheet.kt#L186) to payment sheet and enables Affirm and AU BECS direct debit as payment methods within Payment Sheet.
Expand Down
23 changes: 0 additions & 23 deletions payments-core/res/drawable-night/stripe_ic_paymentsheet_cvc.xml

This file was deleted.

18 changes: 0 additions & 18 deletions payments-core/res/drawable/stripe_ic_paymentsheet_cvc.xml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ class CardFormView @JvmOverloads constructor(
layout.error = null
}

cardMultilineWidget.setCvcIcon(R.drawable.stripe_ic_paymentsheet_cvc)
cardMultilineWidget.setCvcIcon(R.drawable.stripe_ic_cvc)

cardMultilineWidget.cardNumberErrorListener =
StripeEditText.ErrorMessageListener { errorMessage ->
Expand Down

0 comments on commit 7f65c2f

Please sign in to comment.