Skip to content

Commit

Permalink
feature(bank-sdk): Crash fix
Browse files Browse the repository at this point in the history
PP-928
  • Loading branch information
ndubkov-distcotech committed Nov 20, 2024
1 parent 5f88dd2 commit d7bd748
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 d7bd748

Please sign in to comment.