From ae3b66d5c0cc8c454669134e358f95ef1665cbcc Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Tue, 10 Oct 2023 23:14:02 +0200 Subject: [PATCH] Wear: handle QuickWizard as BolusWizard --- .../main/general/wear/wearintegration/DataHandlerMobile.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/main/src/main/kotlin/app/aaps/plugins/main/general/wear/wearintegration/DataHandlerMobile.kt b/plugins/main/src/main/kotlin/app/aaps/plugins/main/general/wear/wearintegration/DataHandlerMobile.kt index c45bd99c33..c55939ecbc 100644 --- a/plugins/main/src/main/kotlin/app/aaps/plugins/main/general/wear/wearintegration/DataHandlerMobile.kt +++ b/plugins/main/src/main/kotlin/app/aaps/plugins/main/general/wear/wearintegration/DataHandlerMobile.kt @@ -495,11 +495,12 @@ class DataHandlerMobile @Inject constructor( val message = rh.gs(R.string.quick_wizard_message, quickWizardEntry.buttonText(), wizard.calculatedTotalInsulin, quickWizardEntry.carbs()) + "\n_____________\n" + wizard.explainShort() + lastBolusWizard = wizard rxBus.send( EventMobileToWear( EventData.ConfirmAction( rh.gs(app.aaps.core.ui.R.string.confirm).uppercase(), message, - returnCommand = EventData.ActionBolusConfirmed(insulinAfterConstraints, carbsAfterConstraints) + returnCommand = EventData.ActionWizardConfirmed(wizard.timeStamp) ) ) )