re-run calculateInsulin when OK is pressed to ensure changes to notes fields are used

This commit is contained in:
Brian Quinion 2019-11-07 11:46:55 +00:00
parent ff70299625
commit 1467361d54

View file

@ -114,6 +114,7 @@ class WizardDialog : DialogFragment() {
log.debug("guarding: ok already clicked")
} else {
okClicked = true
calculateInsulin()
parentContext?.let { context ->
wizard?.confirmAndExecute(context)
}