fake extended fix 2

This commit is contained in:
AdrianLxM 2017-07-04 00:16:45 +02:00
parent 1574d94aa6
commit 1922a1b121

View file

@ -71,7 +71,7 @@ public class TemporaryBasal implements Interval {
this.source = extendedBolus.source;
this._id = extendedBolus._id;
this.durationInMinutes = extendedBolus.durationInMinutes;
this.isAbsolute = false;
this.isAbsolute = true;
this.isFakeExtended = true;
this.netExtendedRate = extendedBolus.absoluteRate();
this.absoluteRate = basal + extendedBolus.absoluteRate();