Merge pull request #2522 from MilosKozak/fix/issue2504
fix issue 2504, requesting confirmation a second time without context
This commit is contained in:
commit
30993777a9
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ class CalibrationDialog : DialogFragmentWithDate() {
|
|||
activity?.let { activity ->
|
||||
OKDialog.showConfirmation(activity, MainApp.gs(R.string.overview_calibration), HtmlHelper.fromHtml(Joiner.on("<br/>").join(actions)), Runnable {
|
||||
log.debug("USER ENTRY: CALIBRATION $bg")
|
||||
XdripCalibrations.confirmAndSendCalibration(bg, context)
|
||||
XdripCalibrations.sendIntent(bg)
|
||||
})
|
||||
}
|
||||
} else
|
||||
|
@ -66,4 +66,4 @@ class CalibrationDialog : DialogFragmentWithDate() {
|
|||
}
|
||||
return true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue