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

Fix build errors, revert TT color from green to 75% purple

Deniz Cengiz 1 год назад
Родитель
Сommit
eccb804589
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      FreeAPS/Sources/Modules/Home/View/Chart/MainChartView.swift

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

@@ -770,7 +770,7 @@ extension MainChartView {
                 xEnd: .value("End", target.end),
                 y: .value("Value", targetLimited)
             )
-            .foregroundStyle(Color.green.opacity(0.5)).lineStyle(.init(lineWidth: 8).dash(2))
+            .foregroundStyle(Color.purple.opacity(0.75)).lineStyle(.init(lineWidth: 8))
         }
     }
 
@@ -786,7 +786,7 @@ extension MainChartView {
                 xEnd: .value("End", end, unit: .second),
                 y: .value("Value", units == .mgdL ? target : target.asMmolL)
             )
-            .foregroundStyle(Color.purple.opacity(0.6))
+            .foregroundStyle(Color.purple.opacity(0.4))
             .lineStyle(.init(lineWidth: 8))
 //            .annotation(position: .overlay, spacing: 0) {
 //                if let name = override.name {
@@ -806,7 +806,7 @@ extension MainChartView {
                 xEnd: .value("End", end, unit: .second),
                 y: .value("Value", units == .mgdL ? target : target.asMmolL)
             )
-            .foregroundStyle(Color.purple.opacity(0.4))
+            .foregroundStyle(Color.purple.opacity(0.25))
             .lineStyle(.init(lineWidth: 8))
 //            .annotation(position: .bottom, spacing: 0) {
 //                if let name = overrideRunStored.override?.name {