Bläddra i källkod

fix for bolus progress overlay

polscm32 aka Marvout 1 år sedan
förälder
incheckning
e7efa9c98f
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      Trio Watch App Extension/WatchState.swift

+ 1 - 0
Trio Watch App Extension/WatchState.swift

@@ -56,6 +56,7 @@ import WatchConnectivity
     /// - Parameters:
     ///   - amount: The insulin amount to be delivered
     func sendBolusRequest(_ amount: Decimal) {
+        isBolusCanceled = false // Reset canceled state when starting new bolus
         guard let session = session, session.isReachable else { return }
 
         let message: [String: Any] = [