From 8bba73a6cac1e27e25318cffbb253f041e7cf24d Mon Sep 17 00:00:00 2001 From: Philoul Date: Thu, 8 Apr 2021 11:24:10 +0200 Subject: [PATCH] Fix Plugin Type for BGSource in PluginStore.kt I don't know if it could have side effect... --- .../nightscout/androidaps/plugins/configBuilder/PluginStore.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/configBuilder/PluginStore.kt b/app/src/main/java/info/nightscout/androidaps/plugins/configBuilder/PluginStore.kt index 05b020fac4..f0945429c5 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/configBuilder/PluginStore.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/configBuilder/PluginStore.kt @@ -118,7 +118,7 @@ class PluginStore @Inject constructor( (activeBgSourceStore as PluginBase).setPluginEnabled(PluginType.BGSOURCE, true) aapsLogger.debug(LTag.CONFIGBUILDER, "Defaulting BgInterface") } - setFragmentVisiblities((activeBgSourceStore as PluginBase).name, pluginsInCategory, PluginType.PUMP) + setFragmentVisiblities((activeBgSourceStore as PluginBase).name, pluginsInCategory, PluginType.BGSOURCE) // PluginType.PUMP pluginsInCategory = getSpecificPluginsList(PluginType.PUMP)