From 9b5535edf0d2de28ac6d0d6c6319d79e8013df7e Mon Sep 17 00:00:00 2001 From: Andy Rozman Date: Sun, 8 Dec 2019 18:25:58 +0000 Subject: [PATCH] - Fix for remaining insulin --- .../androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java b/app/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java index 6db0b41646..89d9a48ab1 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java @@ -542,9 +542,9 @@ public class OmnipodPumpPlugin extends PumpPluginAbstract implements OmnipodPump TreatmentsPlugin.getPlugin().addToHistoryTreatment(detailedBolusInfo, true); // we subtract insulin, exact amount will be visible with next remainingInsulin update. - if (getPodPumpStatusObject().reservoirRemainingUnits != 0) { - getPodPumpStatusObject().reservoirRemainingUnits -= detailedBolusInfo.insulin; - } +// if (getPodPumpStatusObject().reservoirRemainingUnits != 0) { +// getPodPumpStatusObject().reservoirRemainingUnits -= detailedBolusInfo.insulin; +// } incrementStatistics(detailedBolusInfo.isSMB ? OmnipodConst.Statistics.SMBBoluses : OmnipodConst.Statistics.StandardBoluses);