fake extended fix 3

This commit is contained in:
AdrianLxM 2017-07-04 01:43:27 +02:00
parent 1922a1b121
commit a45fd1619e
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ public class TemporaryBasal implements Interval {
@DatabaseField
public boolean isAbsolute = false;
public boolean isFakeExtended = true;
public boolean isFakeExtended = false;
@DatabaseField
public int percentRate = 0;

View file

@ -361,7 +361,7 @@ public class TreatmentsPlugin implements PluginBase, TreatmentsInterface {
double baseRate = pump.getBaseBasalRate();
double tempRate = baseRate + tb.netExtendedRate;
return tempRate;
}else if (tb.isAbsolute) {
} else if (tb.isAbsolute) {
return tb.absoluteRate;
} else {
double baseRate = pump.getBaseBasalRate();