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
|
@ -57,7 +57,7 @@ class CalibrationDialog : DialogFragmentWithDate() {
|
||||||
activity?.let { activity ->
|
activity?.let { activity ->
|
||||||
OKDialog.showConfirmation(activity, MainApp.gs(R.string.overview_calibration), HtmlHelper.fromHtml(Joiner.on("<br/>").join(actions)), Runnable {
|
OKDialog.showConfirmation(activity, MainApp.gs(R.string.overview_calibration), HtmlHelper.fromHtml(Joiner.on("<br/>").join(actions)), Runnable {
|
||||||
log.debug("USER ENTRY: CALIBRATION $bg")
|
log.debug("USER ENTRY: CALIBRATION $bg")
|
||||||
XdripCalibrations.confirmAndSendCalibration(bg, context)
|
XdripCalibrations.sendIntent(bg)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
|
|
Loading…
Reference in a new issue