Преглед изворни кода

fix for bolus progress overlay

polscm32 aka Marvout пре 1 година
родитељ
комит
e7efa9c98f
1 измењених фајлова са 1 додато и 0 уклоњено
  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] = [