Deniz Cengiz пре 1 година
родитељ
комит
f34afad0a0
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      FreeAPS/Sources/Modules/Home/View/Chart/MainChartView.swift

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

@@ -253,7 +253,7 @@ extension MainChartView {
                     glucoseValue: lowGlucose,
                     highGlucoseColorValue: highGlucose,
                     lowGlucoseColorValue: lowGlucose,
-                    targetGlucose: lowGlucose,
+                    targetGlucose: currentGlucoseTarget,
                     dynamicGlucoseColor: dynamicGlucoseColor,
                     offset: units == .mgdL ? 20 : 20.asMmolL
                 )
@@ -261,7 +261,7 @@ extension MainChartView {
                     glucoseValue: highGlucose,
                     highGlucoseColorValue: highGlucose,
                     lowGlucoseColorValue: highGlucose,
-                    targetGlucose: highGlucose,
+                    targetGlucose: currentGlucoseTarget,
                     dynamicGlucoseColor: dynamicGlucoseColor,
                     offset: units == .mgdL ? 20 : 20.asMmolL
                 )