Skip to content

Commit 55149b1

Browse files
committed
refactor: remove comments
1 parent af26ec2 commit 55149b1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/src/main/java/to/bitkit/ui/components/NumberPadTextField.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import to.bitkit.models.formatToModernDisplay
2626
import to.bitkit.ui.LocalCurrencies
2727
import to.bitkit.ui.currencyViewModel
2828
import to.bitkit.ui.theme.Colors
29+
import to.bitkit.ui.utils.formatCurrency
2930

3031
@Composable
3132
fun 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) {

0 commit comments

Comments
 (0)