From a587f72de20db8df10c77125377961f76291922b Mon Sep 17 00:00:00 2001 From: "Markus M. May" Date: Wed, 30 May 2018 18:09:41 +0200 Subject: [PATCH] Fix wrong usage of event in refactored source --- .../androidaps/plugins/Careportal/CareportalFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/Careportal/CareportalFragment.java b/app/src/main/java/info/nightscout/androidaps/plugins/Careportal/CareportalFragment.java index 1542239b56..c5f1886265 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/Careportal/CareportalFragment.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/Careportal/CareportalFragment.java @@ -226,7 +226,7 @@ public class CareportalFragment extends SubscriberFragment implements View.OnCli double sageUrgent = nsSettings.getExtendedWarnValue("sage", "urgent", 166); double sageWarn = nsSettings.getExtendedWarnValue("sage", "warn", 164); - handleAge(sage, CareportalEvent.SITECHANGE, sageWarn, sageUrgent); + handleAge(sage, CareportalEvent.SENSORCHANGE, sageWarn, sageUrgent); double pbageUrgent = nsSettings.getExtendedWarnValue("pgage", "urgent", 360); double pbageWarn = nsSettings.getExtendedWarnValue("pgage", "warn", 240);