Skip to content

Commit

Permalink
Merge pull request #623 from gini/PP-928-fix-crash-on-skonto-screen
Browse files Browse the repository at this point in the history
feature(bank-sdk): Crash fix
  • Loading branch information
ndubkov-distcotech authored Nov 25, 2024
2 parents 8fa7ca7 + d7bd748 commit d317c1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class DecimalInputVisualTransformation(
) : VisualTransformation {

override fun filter(text: AnnotatedString): TransformedText {
val source = text.text
val source = text.text.filter { it != ' ' && it != ' ' }
var formatted = decimalFormatter.formatDigits(source).trim()
if (isCurrencyCodeDisplay) {
formatted += " $currencyCode"
Expand Down

0 comments on commit d317c1f

Please sign in to comment.