bugfix: fill as invalid treatments if triggered from phone
This commit is contained in:
parent
3f8dea1197
commit
7ea33c7de4
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ public class FillDialog extends DialogFragment implements OnClickListener {
|
|||
DetailedBolusInfo detailedBolusInfo = new DetailedBolusInfo();
|
||||
detailedBolusInfo.insulin = finalInsulinAfterConstraints;
|
||||
detailedBolusInfo.context = context;
|
||||
detailedBolusInfo.source = Source.NONE;
|
||||
detailedBolusInfo.source = Source.USER;
|
||||
detailedBolusInfo.isValid = false; // do not count it in IOB (for pump history)
|
||||
PumpEnactResult result = pump.deliverTreatment(detailedBolusInfo);
|
||||
if (!result.success) {
|
||||
|
|
Loading…
Reference in a new issue