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

This commit is contained in:
Roumen Georgiev 2017-09-13 06:49:48 +00:00
parent 88c1248c41
commit 87c993cde1

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));