fake extended fix 3
This commit is contained in:
parent
1922a1b121
commit
a45fd1619e
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue