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

fix popup not showing currently entered carbs

polscm32 2 лет назад
Родитель
Сommit
cac8240691

+ 1 - 1
FreeAPS/Sources/Modules/Bolus/View/AlternativeBolusCalcRootView.swift

@@ -632,7 +632,7 @@ extension Bolus {
                 }
 
                 Text(
-                    state.cob
+                    state.wholeCob
                         .formatted(.number.grouping(.never).rounded().precision(.fractionLength(fractionDigits)))
                         + " / " +
                         state.carbRatio.formatted()