Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon-b-m authored and mountrcg committed Aug 23, 2023
1 parent 0a1f629 commit d636b51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FreeAPS/Sources/Modules/Stat/View/ChartsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ struct ChartsView: View {
let mapGlucoseNormal = mapGlucose.filter({ $0 > Int16(3.8 / 0.0555) && $0 < Int16(7.9 / 0.0555) })
HStack {
let value = Double(mapGlucoseHigh.count * 100 / mapGlucose.count)
Text(units == .mmolL ? "> 11 " : "> 200 ").foregroundColor(.secondary)
Text(units == .mmolL ? "> 11 " : "> 198 ").foregroundColor(.secondary)
Text(value.formatted()).foregroundColor(.orange)
Text("%").foregroundColor(.secondary)
}.font(.caption)
Expand Down Expand Up @@ -259,7 +259,7 @@ struct ChartsView: View {
Spacer()
HStack {
let value = Double(mapGlucoseAcuteHigh.count * 100 / mapGlucose.count)
Text(units == .mmolL ? "> 11.0" : "> 216").font(.caption).foregroundColor(.secondary)
Text(units == .mmolL ? "> 11.0" : "> 198").font(.caption).foregroundColor(.secondary)
Text(value.formatted()).font(.caption).foregroundColor(value == 0 ? .green : .orange)
Text("%").font(.caption)
}
Expand Down

0 comments on commit d636b51

Please sign in to comment.