Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions Trio/Sources/Localizations/Main/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -36762,6 +36762,10 @@
}
}
},
"Alert Identifier" : {
"comment" : "The name of the parameter for the alert identifier in the StopCriticalAlertIntent.",
"isCommentAutoGenerated" : true
},
"Alert Sound" : {
"comment" : "A section header for the alert sound settings.",
"localizations" : {
Expand Down Expand Up @@ -179301,6 +179305,10 @@
}
}
},
"Manager Identifier" : {
"comment" : "The title of the parameter for the manager identifier in the StopCriticalAlertIntent.",
"isCommentAutoGenerated" : true
},
"Manual" : {
"comment" : "Manual Bolus",
"localizations" : {
Expand Down Expand Up @@ -263407,6 +263415,10 @@
}
}
},
"Stop Trio Alarm" : {
"comment" : "Title of the intent that stops a Trio critical-alert alarm.",
"isCommentAutoGenerated" : true
},
"Stopped Override successfully." : {
"comment" : "Stopped Override successfully",
"localizations" : {
Expand Down
20 changes: 10 additions & 10 deletions Trio/Sources/Modules/Home/View/Chart/MainChartView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -929,16 +929,6 @@ extension MainChartCanvas {
viewContext: context
)

GlucoseChartView(
glucoseData: glucose,
units: state.units,
highGlucose: state.highGlucose,
lowGlucose: state.lowGlucose,
currentGlucoseTarget: state.currentGlucoseTarget,
isSmoothingEnabled: state.isSmoothingEnabled,
glucoseColorScheme: state.glucoseColorScheme
)

InsulinView(
glucoseData: glucose,
insulinData: insulin,
Expand All @@ -964,6 +954,16 @@ extension MainChartCanvas {
forecastDisplayType: state.forecastDisplayType,
lastDeterminationDate: state.determinationsFromPersistence.first?.deliverAt ?? .distantPast
)

GlucoseChartView(
glucoseData: glucose,
units: state.units,
highGlucose: state.highGlucose,
lowGlucose: state.lowGlucose,
currentGlucoseTarget: state.currentGlucoseTarget,
isSmoothingEnabled: state.isSmoothingEnabled,
glucoseColorScheme: state.glucoseColorScheme
)
}
.frame(width: canvasWidth, height: mainHeight)
.chartXScale(domain: windowStart ... windowEnd)
Expand Down
Loading