فهرست منبع

use .primary for boluses/carbs in main chart

polscm32 aka Marvout 1 سال پیش
والد
کامیت
9f686c3b38
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      FreeAPS/Sources/Modules/Home/View/Chart/MainChartView.swift

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

@@ -550,7 +550,7 @@ extension MainChartView {
                 .annotation(position: .top) {
                 .annotation(position: .top) {
                     Text(bolusFormatter.string(from: amount) ?? "")
                     Text(bolusFormatter.string(from: amount) ?? "")
                         .font(.caption2)
                         .font(.caption2)
-                        .foregroundStyle(Color.insulin)
+                        .foregroundStyle(Color.primary)
                 }
                 }
             }
             }
         }
         }
@@ -577,7 +577,7 @@ extension MainChartView {
                 }
                 }
                 .annotation(position: .bottom) {
                 .annotation(position: .bottom) {
                     Text(carbsFormatter.string(from: carbAmount as NSNumber)!).font(.caption2)
                     Text(carbsFormatter.string(from: carbAmount as NSNumber)!).font(.caption2)
-                        .foregroundStyle(Color.orange)
+                        .foregroundStyle(Color.primary)
                 }
                 }
             }
             }
         }
         }