File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -836,22 +836,7 @@ final class LoopDataManager {
836836 insulinActionDuration: insulinActionDuration
837837 )
838838
839- // TODO: This was added in https://github.com/LoopKit/Loop/issues/370, but concerns were raised
840- // that this contradicts users expectations in https://github.com/LoopKit/Loop/issues/435
841- let bolusSafetyEffects = settings. enabledEffects. subtracting ( [ . retrospection, . momentum] )
842-
843- return min ( recommendation,
844- DoseMath . recommendBolusFromPredictedGlucose (
845- try predictGlucoseFromCurrentData ( using: bolusSafetyEffects) ,
846- maxBolus: maxBolus,
847- glucoseTargetRange: glucoseTargetRange,
848- insulinSensitivity: insulinSensitivity,
849- basalRateSchedule: basalRates,
850- pendingInsulin: pendingInsulin,
851- minimumBGGuard: minimumBGGuard,
852- insulinActionDuration: insulinActionDuration
853- )
854- )
839+ return recommendation
855840 }
856841
857842 /// *This method should only be called from the `dataAccessQueue`*
You can’t perform that action at this time.
0 commit comments