Merge pull request #465 from Philoul/dev_Fix_PluginType

Fix Plugin Type for BGSource in PluginStore.kt
This commit is contained in:
Milos Kozak 2021-04-13 15:37:55 +02:00 committed by GitHub
commit e2983dc5fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)