From 76652d98d7c1ad7516235aa02789ae472edaec72 Mon Sep 17 00:00:00 2001 From: AdrianLxM Date: Thu, 19 Mar 2020 19:18:52 +0100 Subject: [PATCH] No a second time confirmation without context. --- .../info/nightscout/androidaps/dialogs/CalibrationDialog.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/dialogs/CalibrationDialog.kt b/app/src/main/java/info/nightscout/androidaps/dialogs/CalibrationDialog.kt index 9503988dce..192f301bf6 100644 --- a/app/src/main/java/info/nightscout/androidaps/dialogs/CalibrationDialog.kt +++ b/app/src/main/java/info/nightscout/androidaps/dialogs/CalibrationDialog.kt @@ -57,7 +57,7 @@ class CalibrationDialog : DialogFragmentWithDate() { activity?.let { activity -> OKDialog.showConfirmation(activity, MainApp.gs(R.string.overview_calibration), HtmlHelper.fromHtml(Joiner.on("
").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 } -} \ No newline at end of file +}