Skip to content

Commit 01bb425

Browse files
authored
Update Loop for LoopKit changes supporting Learn (#2034)
* Updates for Learn app * Moving RC methods to LoopKit * Update LDM for move of retrospectionInterval to static var.
1 parent 84e778f commit 01bb425

File tree

49 files changed

+26
-3581
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+26
-3581
lines changed

Common/Extensions/GlucoseRangeSchedule.swift

-9
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,3 @@ extension GlucoseRangeSchedule {
1717
return HKQuantity(unit: unit, doubleValue: value(at: date).maxValue)
1818
}
1919
}
20-
21-
22-
extension ClosedRange where Bound == HKQuantity {
23-
func averageValue(for unit: HKUnit) -> Double {
24-
let minValue = lowerBound.doubleValue(for: unit)
25-
let maxValue = upperBound.doubleValue(for: unit)
26-
return (maxValue + minValue) / 2
27-
}
28-
}

DoseMathTests/Base.lproj/Localizable.strings

-26
This file was deleted.

0 commit comments

Comments
 (0)