Skip to content

Commit

Permalink
Set card brand variable to public
Browse files Browse the repository at this point in the history
  • Loading branch information
AnasNaouchi committed Oct 24, 2024
1 parent 6a6fc33 commit 2277f42
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 2277f42

Please sign in to comment.