We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f33cda commit 2360c73Copy full SHA for 2360c73
app/src/main/java/to/bitkit/ui/components/NumberPadTextField.kt
@@ -69,7 +69,10 @@ fun NumberPadTextField(
69
}
70
71
if (input.contains(".")) {
72
- placeholder = fraction //TODO GET FRACTIONAL LENGTH
+ placeholder = ""
73
+ if (placeholderFractional.length >= fraction.length) {
74
+ placeholder = placeholderFractional.drop(fraction.length)
75
+ }
76
77
if (primaryDisplay == PrimaryDisplay.FIAT) {
78
value = "$whole.$fraction" //TODO FORMAT MONEY
0 commit comments