Procházet zdrojové kódy

fix for bolus progress overlay

polscm32 aka Marvout před 1 rokem
rodič
revize
e7efa9c98f
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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] = [