Просмотр исходного кода

Merge branch 'watch' of github.com:polscm32/Trio-dev into watch

Deniz Cengiz 1 год назад
Родитель
Сommit
7c190b1465

+ 1 - 1
Trio/Sources/Services/BolusCalculator/BolusCalculationManager.swift

@@ -256,7 +256,7 @@ final class BaseBolusCalculationManager: BolusCalculationManager, Injectable {
             isf: (mostRecentDetermination.insulinSensitivity ?? NSDecimalNumber(decimal: currentISF)) as Decimal,
             cob: mostRecentDetermination.cob as Int16,
             iob: (mostRecentDetermination.iob ?? 0) as Decimal,
-            basal: (mostRecentDetermination.tempBasal ?? currentBasal as NSDecimalNumber) as Decimal,
+            basal: currentBasal,
             carbRatio: (mostRecentDetermination.carbRatio ?? NSDecimalNumber(decimal: currentCarbRatio)) as Decimal,
             insulinCalculated: 0
         )