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

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

Deniz Cengiz пре 1 година
родитељ
комит
7c190b1465
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Trio/Sources/Services/BolusCalculator/BolusCalculationManager.swift

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