Revert "Temp fix for not adding SMB boluses to treatments and IOB calculations"

This reverts commit 87c993cde1
This commit is contained in:
Milos Kozak 2017-09-13 07:05:47 +00:00
parent 87c993cde1
commit e795a8cd99

View file

@ -457,7 +457,7 @@ public class ConfigBuilderPlugin implements PluginBase, PumpInterface, Constrain
MainApp.bus().post(new EventBolusRequested(detailedBolusInfo.insulin));
result = activePump.deliverTreatment(detailedBolusInfo);
if(result.success) addToHistoryTreatment(detailedBolusInfo);
BolusProgressDialog.bolusEnded = true;
MainApp.bus().post(new EventDismissBolusprogressIfRunning(result));