From 6bbec3411ac1ab17db88171d29fe87cc1cd9e243 Mon Sep 17 00:00:00 2001 From: AdrianLxM Date: Thu, 29 Jun 2017 23:30:18 +0200 Subject: [PATCH] absolute as percentage update --- .../main/java/info/nightscout/androidaps/db/TemporaryBasal.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/db/TemporaryBasal.java b/app/src/main/java/info/nightscout/androidaps/db/TemporaryBasal.java index 0f441f5deb..4f7c662b05 100644 --- a/app/src/main/java/info/nightscout/androidaps/db/TemporaryBasal.java +++ b/app/src/main/java/info/nightscout/androidaps/db/TemporaryBasal.java @@ -273,7 +273,7 @@ public class TemporaryBasal implements Interval { public String toStringShort() { if (isAbsolute) { - if(SP.getBoolean(R.string.key_danar_visualizeextendedaspercentage, false)){ + if(SP.getBoolean(R.string.key_danar_visualizeextendedaspercentage, false) && SP.getBoolean(R.string.key_danar_useextended, false)){ Profile profile = MainApp.getConfigBuilder().getProfile(); if(profile != null) { double basal = profile.getBasal(System.currentTimeMillis());