Skip to content

Commit

Permalink
[+] Added some fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
VicMikhailau committed May 22, 2024
1 parent a7da69e commit 1609aaf
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,10 @@ open class MaskedWatcher(maskedFormatter: MaskedFormatter, editText: EditText) :

val formattedString = mMaskFormatter.formatString(value)

formattedString?.let { setFormattedText(it) }
oldFormattedValue = formattedString.toString()
formattedString?.let {
setFormattedText(it)
oldFormattedValue = it.toString()
}
afterTextChanged?.invoke(mEditText.get()?.text ?: s)
}

Expand Down

0 comments on commit 1609aaf

Please sign in to comment.