Procházet zdrojové kódy

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

polscm32 aka Marvout před 1 rokem
rodič
revize
57c031b6b3

+ 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))
             }
             }
         }
         }