Explorar el Código

fix carbs dots

Ivan Valkou hace 5 años
padre
commit
49bc73a398
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      FreeAPS/Sources/Modules/Home/View/Chart/MainChartView.swift

+ 2 - 2
FreeAPS/Sources/Modules/Home/View/Chart/MainChartView.swift

@@ -322,7 +322,7 @@ struct MainChartView: View {
             calculatePredictionDots(fullSize: fullSize, type: .uam)
             calculateGlucoseDots(fullSize: fullSize)
             calculateBolusDots(fullSize: fullSize)
-            calculateBolusDots(fullSize: fullSize)
+            calculateCarbsDots(fullSize: fullSize)
         }
         .onChange(of: didAppearTrigger) { _ in
             calculatePredictionDots(fullSize: fullSize, type: .iob)
@@ -331,7 +331,7 @@ struct MainChartView: View {
             calculatePredictionDots(fullSize: fullSize, type: .uam)
             calculateGlucoseDots(fullSize: fullSize)
             calculateBolusDots(fullSize: fullSize)
-            calculateBolusDots(fullSize: fullSize)
+            calculateCarbsDots(fullSize: fullSize)
         }
     }