From 47e295b3c15efb8ba1a4f77e0d5342e7592644b4 Mon Sep 17 00:00:00 2001 From: AdrianLxM Date: Thu, 17 Aug 2017 00:42:26 +0200 Subject: [PATCH] Check for tempbasal not RealTempbasla --- .../nightscout/androidaps/plugins/Actions/ActionsFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/Actions/ActionsFragment.java b/app/src/main/java/info/nightscout/androidaps/plugins/Actions/ActionsFragment.java index c6b278955f..849f875567 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/Actions/ActionsFragment.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/Actions/ActionsFragment.java @@ -215,7 +215,7 @@ public class ActionsFragment extends SubscriberFragment implements View.OnClickL } break; case R.id.actions_canceltempbasal: - if (MainApp.getConfigBuilder().isInHistoryRealTempBasalInProgress()) { + if (MainApp.getConfigBuilder().isTempBasalInProgress()) { sHandler.post(new Runnable() { @Override public void run() {