Fix Plugin Type for BGSource in PluginStore.kt

I don't know if it could have side effect...
This commit is contained in:
Philoul 2021-04-08 11:24:10 +02:00
parent 7ca9caba18
commit 8bba73a6ca

View file

@ -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)