Update StatuslinePlugin.java
This commit is contained in:
parent
237d55ee85
commit
2d797e8ce3
1 changed files with 2 additions and 2 deletions
|
@ -184,7 +184,7 @@ public class StatuslinePlugin implements PluginBase {
|
||||||
|
|
||||||
TemporaryBasal activeTemp = treatmentsInterface.getTempBasalFromHistory(System.currentTimeMillis());
|
TemporaryBasal activeTemp = treatmentsInterface.getTempBasalFromHistory(System.currentTimeMillis());
|
||||||
if (activeTemp != null) {
|
if (activeTemp != null) {
|
||||||
status += activeTemp.toStringShort();
|
status += activeTemp.toStringShort() + " ";
|
||||||
}
|
}
|
||||||
|
|
||||||
//IOB
|
//IOB
|
||||||
|
@ -192,7 +192,7 @@ public class StatuslinePlugin implements PluginBase {
|
||||||
IobTotal bolusIob = treatmentsInterface.getLastCalculationTreatments().round();
|
IobTotal bolusIob = treatmentsInterface.getLastCalculationTreatments().round();
|
||||||
treatmentsInterface.updateTotalIOBTempBasals();
|
treatmentsInterface.updateTotalIOBTempBasals();
|
||||||
IobTotal basalIob = treatmentsInterface.getLastCalculationTempBasals().round();
|
IobTotal basalIob = treatmentsInterface.getLastCalculationTempBasals().round();
|
||||||
status += " " + DecimalFormatter.to2Decimal(bolusIob.iob + basalIob.basaliob);
|
status += DecimalFormatter.to2Decimal(bolusIob.iob + basalIob.basaliob);
|
||||||
|
|
||||||
|
|
||||||
if (mPrefs.getBoolean("xdripstatus_detailediob", true)) {
|
if (mPrefs.getBoolean("xdripstatus_detailediob", true)) {
|
||||||
|
|
Loading…
Reference in a new issue