Browse Source

Fix types

Jon Mårtensson 2 years ago
parent
commit
466ad8c29c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      FreeAPS/Sources/Modules/Bolus/View/Predictions.swift

+ 2 - 2
FreeAPS/Sources/Modules/Bolus/View/Predictions.swift

@@ -101,9 +101,9 @@ struct PredictionView: View {
         .frame(minHeight: Config.height)
         .chartForegroundStyleScale([
             "IOB": Color(.insulin),
-            "UAM": Color(.UAM),
+            "UAM": .uam,
             "COB": Color(.loopYellow),
-            "ZT": Color(.ZT)
+            "ZT": .zt
         ])
         .chartYAxisLabel(NSLocalizedString("Glucose, ", comment: "") + units.rawValue, alignment: .center)
     }