فهرست منبع

fix carbs dots

Ivan Valkou 5 سال پیش
والد
کامیت
49bc73a398
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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)
             calculatePredictionDots(fullSize: fullSize, type: .uam)
             calculateGlucoseDots(fullSize: fullSize)
             calculateGlucoseDots(fullSize: fullSize)
             calculateBolusDots(fullSize: fullSize)
             calculateBolusDots(fullSize: fullSize)
-            calculateBolusDots(fullSize: fullSize)
+            calculateCarbsDots(fullSize: fullSize)
         }
         }
         .onChange(of: didAppearTrigger) { _ in
         .onChange(of: didAppearTrigger) { _ in
             calculatePredictionDots(fullSize: fullSize, type: .iob)
             calculatePredictionDots(fullSize: fullSize, type: .iob)
@@ -331,7 +331,7 @@ struct MainChartView: View {
             calculatePredictionDots(fullSize: fullSize, type: .uam)
             calculatePredictionDots(fullSize: fullSize, type: .uam)
             calculateGlucoseDots(fullSize: fullSize)
             calculateGlucoseDots(fullSize: fullSize)
             calculateBolusDots(fullSize: fullSize)
             calculateBolusDots(fullSize: fullSize)
-            calculateBolusDots(fullSize: fullSize)
+            calculateCarbsDots(fullSize: fullSize)
         }
         }
     }
     }