diff --git a/Loop/Managers/LoopDataManager.swift b/Loop/Managers/LoopDataManager.swift index 7d3fac004f..c039581e97 100644 --- a/Loop/Managers/LoopDataManager.swift +++ b/Loop/Managers/LoopDataManager.swift @@ -838,22 +838,7 @@ final class LoopDataManager { insulinActionDuration: insulinActionDuration ) - // TODO: This was added in https://github.com/LoopKit/Loop/issues/370, but concerns were raised - // that this contradicts users expectations in https://github.com/LoopKit/Loop/issues/435 - let bolusSafetyEffects = settings.enabledEffects.subtracting([.retrospection, .momentum]) - - return min(recommendation, - DoseMath.recommendBolusFromPredictedGlucose( - try predictGlucoseFromCurrentData(using: bolusSafetyEffects), - maxBolus: maxBolus, - glucoseTargetRange: glucoseTargetRange, - insulinSensitivity: insulinSensitivity, - basalRateSchedule: basalRates, - pendingInsulin: pendingInsulin, - minimumBGGuard: minimumBGGuard, - insulinActionDuration: insulinActionDuration - ) - ) + return recommendation } /// *This method should only be called from the `dataAccessQueue`*