NumberPicker: Fix formatting

pull/1260/head
Alinson S. Xavier 4 years ago
parent 535bc03b70
commit 9770ce187a
No known key found for this signature in database
GPG Key ID: DCA0DAD4D2F58624

@ -70,7 +70,7 @@ class NumberPickerFactory
val prevFocusChangeListener = picker2InputText.onFocusChangeListener
picker2InputText.onFocusChangeListener = View.OnFocusChangeListener { v, hasFocus ->
val str = picker2InputText.text.toString()
if(str.length == 1) picker2InputText.setText("${str}0")
if (str.length == 1) picker2InputText.setText("${str}0")
prevFocusChangeListener.onFocusChange(v, hasFocus)
}

Loading…
Cancel
Save