Skip to content

Commit 26385c8

Browse files
committed
Update ab_ramp* patches to PR1988, commit e058d50
1 parent 2795ef8 commit 26385c8

6 files changed

+21
-1339
lines changed

ab_ramp/pr1988_ab_enhanced_3.2.x.patch

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ index 16e58743..c3616289 100644
168168
isOnboardingComplete: false,
169169
therapySettingsViewModelDelegate: nil,
170170
diff --git a/Loop/Loop/Views/DosingStrategySelectionView.swift b/Loop/Loop/Views/DosingStrategySelectionView.swift
171-
index f447b032..5846654a 100644
171+
index f447b032..8981f96e 100644
172172
--- a/Loop/Loop/Views/DosingStrategySelectionView.swift
173173
+++ b/Loop/Loop/Views/DosingStrategySelectionView.swift
174174
@@ -14,11 +14,13 @@ import LoopKitUI
@@ -187,7 +187,7 @@ index f447b032..5846654a 100644
187187
self._internalDosingStrategy = State(initialValue: automaticDosingStrategy.wrappedValue)
188188
}
189189

190-
@@ -45,27 +47,51 @@ public struct DosingStrategySelectionView: View {
190+
@@ -45,27 +47,52 @@ public struct DosingStrategySelectionView: View {
191191
self.internalDosingStrategy = strategy // Hack to force update. :(
192192
}
193193
}
@@ -207,7 +207,8 @@ index f447b032..5846654a 100644
207207
+ VStack(alignment: .leading) {
208208
+ Text("Modify Bolus Percentage", comment: "The title text for the Modify Bolus Percentage toggle")
209209
+ .padding(.vertical, 0.5)
210-
+ Text("Modify Automatic Bolus behavior: The percentage of recommended bolus delivered each cycle varies with glucose level: near correction range, use 20% (similar to Temp Basal). Gradually increase to a maximum of 80% at high glucose (200 mg/dL, 11.1 mmol/L).", comment: "Description string for Modify Bolus Percentage toggle")
210+
+ .font(.subheadline)
211+
+ Text("Modify Automatic Bolus behavior: This experimental feature varies the percentage of recommended bolus delivered each cycle with glucose level. Near correction range, use 20% (similar to Temp Basal). Gradually increase to a maximum of 80% at high glucose (200 mg/dL, 11.1 mmol/L).\n\nPlease be aware that during fast rising glucose, such as after an unannounced meal, this feature, combined with Loop's velocity and retrospective correction effects, may result in a larger dose than your ISF would call for.", comment: "Description string for Modify Bolus Percentage toggle")
211212
+ .font(.footnote)
212213
+ .foregroundColor(.secondary)
213214
+ .fixedSize(horizontal: false, vertical: true)

ab_ramp/pr1988_ab_enhanced_dev.patch

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ index 3e3c20be..13ff5556 100644
168168
isOnboardingComplete: false,
169169
therapySettingsViewModelDelegate: nil,
170170
diff --git a/Loop/Loop/Views/DosingStrategySelectionView.swift b/Loop/Loop/Views/DosingStrategySelectionView.swift
171-
index f447b032..5846654a 100644
171+
index f447b032..8981f96e 100644
172172
--- a/Loop/Loop/Views/DosingStrategySelectionView.swift
173173
+++ b/Loop/Loop/Views/DosingStrategySelectionView.swift
174174
@@ -14,11 +14,13 @@ import LoopKitUI
@@ -187,7 +187,7 @@ index f447b032..5846654a 100644
187187
self._internalDosingStrategy = State(initialValue: automaticDosingStrategy.wrappedValue)
188188
}
189189

190-
@@ -45,27 +47,51 @@ public struct DosingStrategySelectionView: View {
190+
@@ -45,27 +47,52 @@ public struct DosingStrategySelectionView: View {
191191
self.internalDosingStrategy = strategy // Hack to force update. :(
192192
}
193193
}
@@ -207,7 +207,8 @@ index f447b032..5846654a 100644
207207
+ VStack(alignment: .leading) {
208208
+ Text("Modify Bolus Percentage", comment: "The title text for the Modify Bolus Percentage toggle")
209209
+ .padding(.vertical, 0.5)
210-
+ Text("Modify Automatic Bolus behavior: The percentage of recommended bolus delivered each cycle varies with glucose level: near correction range, use 20% (similar to Temp Basal). Gradually increase to a maximum of 80% at high glucose (200 mg/dL, 11.1 mmol/L).", comment: "Description string for Modify Bolus Percentage toggle")
210+
+ .font(.subheadline)
211+
+ Text("Modify Automatic Bolus behavior: This experimental feature varies the percentage of recommended bolus delivered each cycle with glucose level. Near correction range, use 20% (similar to Temp Basal). Gradually increase to a maximum of 80% at high glucose (200 mg/dL, 11.1 mmol/L).\n\nPlease be aware that during fast rising glucose, such as after an unannounced meal, this feature, combined with Loop's velocity and retrospective correction effects, may result in a larger dose than your ISF would call for.", comment: "Description string for Modify Bolus Percentage toggle")
211212
+ .font(.footnote)
212213
+ .foregroundColor(.secondary)
213214
+ .fixedSize(horizontal: false, vertical: true)
@@ -306,7 +307,7 @@ index 63418ad4..9dbbfcca 100644
306307
raw["glucoseTargetRangeSchedule"] = glucoseTargetRangeSchedule?.rawValue
307308
Submodule LoopKit contains modified content
308309
diff --git a/LoopKit/LoopKit/SettingsStore.swift b/LoopKit/LoopKit/SettingsStore.swift
309-
index b424cb93..b758d8cc 100644
310+
index b424cb9..b758d8c 100644
310311
--- a/LoopKit/LoopKit/SettingsStore.swift
311312
+++ b/LoopKit/LoopKit/SettingsStore.swift
312313
@@ -273,6 +273,7 @@ public struct StoredSettings: Equatable {
@@ -358,7 +359,7 @@ index b424cb93..b758d8cc 100644
358359
}
359360
}
360361
diff --git a/LoopKit/LoopKitUI/Views/CheckmarkListItem.swift b/LoopKit/LoopKitUI/Views/CheckmarkListItem.swift
361-
index 2c8b71fe..f4aa8775 100644
362+
index 2c8b71f..f4aa877 100644
362363
--- a/LoopKit/LoopKitUI/Views/CheckmarkListItem.swift
363364
+++ b/LoopKit/LoopKitUI/Views/CheckmarkListItem.swift
364365
@@ -15,13 +15,15 @@ public struct CheckmarkListItem: View {

0 commit comments

Comments
 (0)