Explorar el Código

Allow bolus with meal commands

Jonas Björkert hace 1 año
padre
commit
42e78692eb
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      FreeAPS/Sources/Modules/RemoteControl/TrioRemoteControl.swift

+ 4 - 0
FreeAPS/Sources/Modules/RemoteControl/TrioRemoteControl.swift

@@ -74,6 +74,10 @@ class TrioRemoteControl: Injectable {
             await cancelTempTarget(pushMessage)
         case .meal:
             await handleMealCommand(pushMessage)
+
+            if pushMessage.bolusAmount != nil {
+                await handleBolusCommand(pushMessage)
+            }
         case .startOverride:
             await handleStartOverrideCommand(pushMessage)
         case .cancelOverride: