NumberPicker: Clear focus of both pickers

This commit is contained in:
2022-01-01 07:22:26 -06:00
parent 642e45af89
commit 535bc03b70

View File

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