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