Skip to content

Commit 107082b

Browse files
Kdisimoneps2
authored andcommitted
Add prompt on Max Basal Rate (#690)
Reminder to check pump's max basal rate when setting the Loop's max basal rate
1 parent a90e4ef commit 107082b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Loop/View Controllers/TextFieldTableViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ extension TextFieldTableViewController {
5151
vc.placeholder = NSLocalizedString("Enter a rate in units per hour", comment: "The placeholder text instructing users how to enter a maximum basal rate")
5252
vc.keyboardType = .decimalPad
5353
vc.unit = NSLocalizedString("U/hour", comment: "The unit string for units per hour")
54+
vc.contextHelp = NSLocalizedString("Please check that the maximum basal rate entered here does not exceed the corresponding maximum basal rate setting in the pump.", comment: "Instructions to help get max basal rate setting correct.")
5455

5556
if let maxBasal = value {
5657
vc.value = valueNumberFormatter.string(from: NSNumber(value: maxBasal))

0 commit comments

Comments
 (0)