File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
app/src/main/java/to/bitkit/ui/components Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ import to.bitkit.models.formatToModernDisplay
2626import to.bitkit.ui.LocalCurrencies
2727import to.bitkit.ui.currencyViewModel
2828import to.bitkit.ui.theme.Colors
29+ import to.bitkit.ui.utils.formatCurrency
2930
3031@Composable
3132fun NumberPadTextField (
@@ -62,7 +63,7 @@ fun NumberPadTextField(
6263 val fraction = input.split(" ." ).getOrNull(1 ).orEmpty().removeSpaces()
6364
6465 if (primaryDisplay == PrimaryDisplay .FIAT ) {
65- value = whole // TODO separate thousands with space
66+ value = whole
6667 }
6768
6869 if (input.contains(" ." )) {
@@ -72,7 +73,7 @@ fun NumberPadTextField(
7273 }
7374
7475 if (primaryDisplay == PrimaryDisplay .FIAT ) {
75- value = " $whole .$fraction " // TODO separate thousands with space in the whole part
76+ value = " $whole .$fraction "
7677 }
7778 } else {
7879 if (displayUnit == BitcoinDisplayUnit .MODERN && primaryDisplay == PrimaryDisplay .BITCOIN ) {
You can’t perform that action at this time.
0 commit comments