|
|
@@ -91,8 +91,6 @@ extension PreferencesEditor {
|
|
|
)
|
|
|
]
|
|
|
|
|
|
- // MARK: - SMB fields
|
|
|
-
|
|
|
let dynamicISF = [
|
|
|
Field(
|
|
|
displayName: "Enable Dynamic ISF",
|
|
|
@@ -206,6 +204,24 @@ extension PreferencesEditor {
|
|
|
settable: self
|
|
|
),
|
|
|
Field(
|
|
|
+ displayName: "Enable SMB With High BG",
|
|
|
+ type: .boolean(keypath: \.enableSMB_high_bg),
|
|
|
+ infoText: NSLocalizedString(
|
|
|
+ "Enable SMBs when a high BG is detected, based on the high BG target (adjusted or profile)",
|
|
|
+ comment: "Enable SMB With High BG"
|
|
|
+ ),
|
|
|
+ settable: self
|
|
|
+ ),
|
|
|
+ Field(
|
|
|
+ displayName: "Enable SMB over this BG",
|
|
|
+ type: .decimal(keypath: \.enableSMB_high_bg_target),
|
|
|
+ infoText: NSLocalizedString(
|
|
|
+ "Set the value enableSMB_high_bg will compare against to enable SMB. If BG > than this value, SMBs should enable.",
|
|
|
+ comment: "Over This BG (mg/dl):"
|
|
|
+ ),
|
|
|
+ settable: self
|
|
|
+ ),
|
|
|
+ Field(
|
|
|
displayName: "Enable UAM",
|
|
|
type: .boolean(keypath: \.enableUAM),
|
|
|
infoText: NSLocalizedString(
|