Skip to content

Commit

Permalink
Set card brand variable to public (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnasNaouchi authored Oct 24, 2024
1 parent 6a6fc33 commit 31f7a8d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class CreditCardEditText : OmiseEditText {
val cardNumber: String
get() = text.toString().trim().replace(SEPARATOR, "")

private val cardBrand: CardBrand?
val cardBrand: CardBrand?
get() = CardNumber.brand(cardNumber)

constructor(context: Context) : super(context)
Expand Down

0 comments on commit 31f7a8d

Please sign in to comment.