mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Remove leading/trailing whitespace from notes
This commit is contained in:
@@ -99,7 +99,7 @@ class NumberPickerFactory
|
|||||||
picker.clearFocus()
|
picker.clearFocus()
|
||||||
picker2.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().trim()
|
||||||
callback.onNumberPicked(v, note)
|
callback.onNumberPicked(v, note)
|
||||||
}
|
}
|
||||||
.setNegativeButton(android.R.string.cancel) { _, _ ->
|
.setNegativeButton(android.R.string.cancel) { _, _ ->
|
||||||
|
|||||||
Reference in New Issue
Block a user