From ec6f395aed172afccb0d35f13295afae3cd36aaf Mon Sep 17 00:00:00 2001 From: jbr7rr <> Date: Tue, 8 Aug 2023 16:10:25 +0200 Subject: [PATCH] Make sure stopPressed is reset after bolus dialog is done --- .../main/java/info/nightscout/ui/dialogs/BolusProgressDialog.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/src/main/java/info/nightscout/ui/dialogs/BolusProgressDialog.kt b/ui/src/main/java/info/nightscout/ui/dialogs/BolusProgressDialog.kt index c4b6b85a33..7f6e37944b 100644 --- a/ui/src/main/java/info/nightscout/ui/dialogs/BolusProgressDialog.kt +++ b/ui/src/main/java/info/nightscout/ui/dialogs/BolusProgressDialog.kt @@ -150,6 +150,8 @@ class BolusProgressDialog : DaggerDialogFragment() { BolusProgressData.bolusEnded = true aapsLogger.error("Unhandled exception", e) } + // Reset stop button + BolusProgressData.stopPressed = false helpActivity?.finish() }