From 6e40c2ebc61f0cd19a6f968442553ec9323c66b4 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Mon, 13 Jan 2020 21:06:07 +0100 Subject: [PATCH] Add Careportal plugin in NSCLIENT mode only) --- app/src/main/java/info/nightscout/androidaps/MainApp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/MainApp.java b/app/src/main/java/info/nightscout/androidaps/MainApp.java index 0506f461be..22df82d212 100644 --- a/app/src/main/java/info/nightscout/androidaps/MainApp.java +++ b/app/src/main/java/info/nightscout/androidaps/MainApp.java @@ -190,7 +190,7 @@ public class MainApp extends Application { if (Config.PUMPDRIVERS) pluginsList.add(MedtronicPumpPlugin.getPlugin()); if (!Config.NSCLIENT) pluginsList.add(MDIPlugin.getPlugin()); pluginsList.add(VirtualPumpPlugin.getPlugin()); - pluginsList.add(CareportalPlugin.getPlugin()); + if (Config.NSCLIENT) pluginsList.add(CareportalPlugin.getPlugin()); if (Config.APS) pluginsList.add(LoopPlugin.getPlugin()); if (Config.APS) pluginsList.add(OpenAPSMAPlugin.getPlugin()); if (Config.APS) pluginsList.add(OpenAPSAMAPlugin.getPlugin());