From 237d55ee85fb248899974041c2a06993f2f00979 Mon Sep 17 00:00:00 2001 From: swissalpine Date: Tue, 6 Mar 2018 11:21:44 +0100 Subject: [PATCH 1/2] Add whitespace to xDrip status line ... which was removed by the last fix. --- .../androidaps/plugins/XDripStatusline/StatuslinePlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/XDripStatusline/StatuslinePlugin.java b/app/src/main/java/info/nightscout/androidaps/plugins/XDripStatusline/StatuslinePlugin.java index 5fb902c2eb..61a002e835 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/XDripStatusline/StatuslinePlugin.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/XDripStatusline/StatuslinePlugin.java @@ -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)) { From 2d797e8ce353db7a4fe16223b9a2a11e3c4d441c Mon Sep 17 00:00:00 2001 From: swissalpine Date: Tue, 6 Mar 2018 16:23:56 +0100 Subject: [PATCH 2/2] Update StatuslinePlugin.java --- .../androidaps/plugins/XDripStatusline/StatuslinePlugin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/XDripStatusline/StatuslinePlugin.java b/app/src/main/java/info/nightscout/androidaps/plugins/XDripStatusline/StatuslinePlugin.java index 61a002e835..7e9619dfb3 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/XDripStatusline/StatuslinePlugin.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/XDripStatusline/StatuslinePlugin.java @@ -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)) {