mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 01:08:50 -06:00
NumberPicker: Clear focus of both pickers
This commit is contained in:
@@ -96,6 +96,7 @@ class NumberPickerFactory
|
||||
.setTitle(dateString)
|
||||
.setPositiveButton(R.string.save) { _, _ ->
|
||||
picker.clearFocus()
|
||||
picker2.clearFocus()
|
||||
val v = picker.value + 0.01 * picker2.value
|
||||
val note = etNotes.text.toString()
|
||||
callback.onNumberPicked(v, note)
|
||||
|
||||
Reference in New Issue
Block a user