소스 검색

Reset flag to ensure a bolus progress is also shown after canceling bolus from watch

polscm32 1 년 전
부모
커밋
a0719223ea
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      Trio Watch App Extension/WatchState.swift

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

@@ -234,6 +234,9 @@ import WatchConnectivity
             DispatchQueue.main.async {
                 self.bolusProgress = 0
                 self.activeBolusAmount = 0
+                self
+                    .isBolusCanceled =
+                    false /// Reset flag to ensure a bolus progress is also shown after canceling bolus from watch
             }
             return
         } else {