From 6293e89be2156b9838c55da7321b92370d3672a1 Mon Sep 17 00:00:00 2001 From: PoweRGbg Date: Mon, 19 Jun 2017 13:10:32 +0300 Subject: [PATCH 1/2] fixed getICList() returning bg units/U to g/hr --- app/src/main/java/info/nightscout/androidaps/data/Profile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/data/Profile.java b/app/src/main/java/info/nightscout/androidaps/data/Profile.java index b7275e56b3..7fa2d44aed 100644 --- a/app/src/main/java/info/nightscout/androidaps/data/Profile.java +++ b/app/src/main/java/info/nightscout/androidaps/data/Profile.java @@ -247,7 +247,7 @@ public class Profile { } public String getIcList() { - return getValuesList(ic, null, new DecimalFormat("0.0"), getUnits() + "/U"); + return getValuesList(ic, null, new DecimalFormat("0.0"), " g/hr"); } public Double getBasal() { From dcc7112fd82c6dd9aa695e4a694f72399f2bcb70 Mon Sep 17 00:00:00 2001 From: PoweRGbg Date: Mon, 19 Jun 2017 14:39:49 +0300 Subject: [PATCH 2/2] Update Profile.java --- app/src/main/java/info/nightscout/androidaps/data/Profile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/data/Profile.java b/app/src/main/java/info/nightscout/androidaps/data/Profile.java index 7fa2d44aed..6af7eed11e 100644 --- a/app/src/main/java/info/nightscout/androidaps/data/Profile.java +++ b/app/src/main/java/info/nightscout/androidaps/data/Profile.java @@ -247,7 +247,7 @@ public class Profile { } public String getIcList() { - return getValuesList(ic, null, new DecimalFormat("0.0"), " g/hr"); + return getValuesList(ic, null, new DecimalFormat("0.0"), " g/U"); } public Double getBasal() {