Bläddra i källkod

Fix threshold line colors

Deniz Cengiz 1 år sedan
förälder
incheckning
f34afad0a0
1 ändrade filer med 2 tillägg och 2 borttagningar
  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
                 )