NumberPicker: Fix formatting

This commit is contained in:
Alinson S. Xavier 2022-01-01 07:28:40 -06:00
parent 535bc03b70
commit 9770ce187a
No known key found for this signature in database
GPG Key ID: DCA0DAD4D2F58624

View File

@ -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)
}