Skip to content
Open
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
6 changes: 3 additions & 3 deletions LoopFollow/Alarm/AlarmEditing/Editors/COBAlarmEditor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ struct COBAlarmEditor: View {
var body: some View {
Group {
InfoBanner(
text: "Alerts when Carbs-on-Board exceeds the amount you set below.",
text: "Alerts when Carbs-on-Board reaches or exceeds the amount you set below.",
alarmType: alarm.type
)

AlarmGeneralSection(alarm: $alarm)

AlarmStepperSection(
header: "Carbs on Board Limit",
footer: "Alert when carbs-on-board is above this number.",
title: "Above",
footer: "Alert when carbs-on-board is at or above this number.",
title: "At or Above",
range: 1 ... 200,
step: 1,
unitLabel: "g",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ struct MissedBolusAlarmEditor: View {

AlarmStepperSection(
header: "Ignore small boluses",
footer: "Boluses below this size are ignored.",
title: "Ignore below",
footer: "Boluses at or below this size are ignored.",
title: "Ignore at or below",
range: 0.05 ... 2,
step: 0.05,
unitLabel: "Units",
Expand All @@ -51,8 +51,8 @@ struct MissedBolusAlarmEditor: View {

AlarmStepperSection(
header: "Ignore small carbs",
footer: "Carb entries below this amount will not trigger the alarm.",
title: "Below",
footer: "Carb entries at or below this amount will not trigger the alarm.",
title: "At or Below",
range: 0 ... 15,
step: 1,
unitLabel: "Grams",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ struct PhoneBatteryAlarmEditor: View {

AlarmStepperSection(
header: "Battery Level",
footer: "This alerts you when the battery drops below this level.",
footer: "This alerts you when the battery drops to or below this level.",
title: "Battery Below",
range: 0 ... 100,
step: 5,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ struct PumpBatteryAlarmEditor: View {

AlarmStepperSection(
header: "Pump Battery Level",
footer: "This alerts you when the pump battery drops below this level.",
footer: "This alerts you when the pump battery drops to or below this level.",
title: "Battery Below",
range: 0 ... 100,
step: 5,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ struct RecBolusAlarmEditor: View {

AlarmStepperSection(
header: "Threshold",
footer: "Alert when recommended bolus is above this value.",
title: "More than",
footer: "Alert when recommended bolus is at or above this value.",
title: "At or Above",
range: 0.1 ... 50,
step: 0.1,
unitLabel: "Units",
Expand Down