Update StatuslinePlugin.java

This commit is contained in:
swissalpine 2018-03-06 16:23:56 +01:00 committed by GitHub
parent 237d55ee85
commit 2d797e8ce3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -184,7 +184,7 @@ public class StatuslinePlugin implements PluginBase {
TemporaryBasal activeTemp = treatmentsInterface.getTempBasalFromHistory(System.currentTimeMillis());
if (activeTemp != null) {
status += activeTemp.toStringShort();
status += activeTemp.toStringShort() + " ";
}
//IOB
@ -192,7 +192,7 @@ public class StatuslinePlugin implements PluginBase {
IobTotal bolusIob = treatmentsInterface.getLastCalculationTreatments().round();
treatmentsInterface.updateTotalIOBTempBasals();
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)) {