From 609f99dc1c97751be55b4ad1f6129ec7f9f40435 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Sat, 13 Aug 2016 12:33:20 +0200 Subject: [PATCH] fix danar show in prefs --- .../java/info/nightscout/androidaps/PreferencesActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/PreferencesActivity.java b/app/src/main/java/info/nightscout/androidaps/PreferencesActivity.java index 9afa7be945..65ea26394c 100644 --- a/app/src/main/java/info/nightscout/androidaps/PreferencesActivity.java +++ b/app/src/main/java/info/nightscout/androidaps/PreferencesActivity.java @@ -89,7 +89,7 @@ public class PreferencesActivity extends PreferenceActivity implements SharedPre if (Config.DANAR) { addPreferencesFromResource(R.xml.pref_danar); DanaRPlugin danaRPlugin = (DanaRPlugin) MainApp.getSpecificPlugin(DanaRPlugin.class); - if (danaRPlugin.isEnabled(PluginBase.PROFILE)) { + if (danaRPlugin.isEnabled(PluginBase.PUMP)) { addPreferencesFromResource(R.xml.pref_danarprofile); } }