Explorar o código

test fix for persistent recommended bolus animation when initially open BolusInputView after rebuild or restart of the watch app

polscm32 aka Marvout hai 1 ano
pai
achega
57c031b6b3
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      Trio Watch App Extension/Views/BolusInputView.swift

+ 0 - 1
Trio Watch App Extension/Views/BolusInputView.swift

@@ -167,7 +167,6 @@ struct BolusInputView: View {
         // Add onChange to update bolus amount when recommendation changes
         // Add onChange to update bolus amount when recommendation changes
         .onChange(of: state.recommendedBolus) { _, newValue in
         .onChange(of: state.recommendedBolus) { _, newValue in
             if bolusAmount == 0 { // Only update if user hasn't modified the value
             if bolusAmount == 0 { // Only update if user hasn't modified the value
-                state.showBolusCalculationProgress = true
                 bolusAmount = Double(truncating: NSDecimalNumber(decimal: newValue))
                 bolusAmount = Double(truncating: NSDecimalNumber(decimal: newValue))
             }
             }
         }
         }