hide disabled plugins
This commit is contained in:
parent
d14bc49dc0
commit
381708fe11
2 changed files with 2 additions and 0 deletions
|
@ -68,6 +68,7 @@ class OpenAPSSMBDynamicISFPlugin @Inject constructor(
|
||||||
.shortName(R.string.dynisf_shortname)
|
.shortName(R.string.dynisf_shortname)
|
||||||
.preferencesId(R.xml.pref_openapssmbdynamicisf)
|
.preferencesId(R.xml.pref_openapssmbdynamicisf)
|
||||||
.setDefault(false)
|
.setDefault(false)
|
||||||
|
.showInList(buildHelper.isEngineeringMode() && buildHelper.isDev())
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun specialEnableCondition(): Boolean = buildHelper.isEngineeringMode() && buildHelper.isDev()
|
override fun specialEnableCondition(): Boolean = buildHelper.isEngineeringMode() && buildHelper.isDev()
|
||||||
|
|
|
@ -61,6 +61,7 @@ class AutotunePlugin @Inject constructor(
|
||||||
.pluginName(R.string.autotune)
|
.pluginName(R.string.autotune)
|
||||||
.shortName(R.string.autotune_shortname)
|
.shortName(R.string.autotune_shortname)
|
||||||
.preferencesId(R.xml.pref_autotune)
|
.preferencesId(R.xml.pref_autotune)
|
||||||
|
.showInList(buildHelper.isEngineeringMode() && buildHelper.isDev())
|
||||||
.description(R.string.autotune_description),
|
.description(R.string.autotune_description),
|
||||||
aapsLogger, resourceHelper, injector
|
aapsLogger, resourceHelper, injector
|
||||||
), Autotune {
|
), Autotune {
|
||||||
|
|
Loading…
Reference in a new issue