mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
NumberPicker: Fix formatting
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user