fix rendering TT in mmol
This commit is contained in:
parent
22f50198fc
commit
3d710dcf46
|
@ -245,6 +245,7 @@ public class GraphData {
|
|||
value = (profile.getTargetLow(time) + profile.getTargetHigh(time)) / 2;
|
||||
} else {
|
||||
value = tt.target();
|
||||
value = Profile.fromMgdlToUnits(value, profile.getUnits());
|
||||
}
|
||||
if (lastTarget > 0 && lastTarget != value) {
|
||||
targetsSeriesArray.add(new DataPoint(time, lastTarget));
|
||||
|
|
Loading…
Reference in a new issue