Check if AutotunePlugin is enabled in ActionRunAutotune
This commit is contained in:
parent
70ed332b7c
commit
bf46d8a605
|
@ -332,7 +332,7 @@ class AutomationPlugin @Inject constructor(
|
|||
ActionCarePortalEvent(injector),
|
||||
ActionProfileSwitchPercent(injector),
|
||||
ActionProfileSwitch(injector),
|
||||
//ActionRunAutotune(injector),
|
||||
ActionRunAutotune(injector),
|
||||
ActionSendSMS(injector)
|
||||
)
|
||||
}
|
||||
|
|
|
@ -85,5 +85,5 @@ class ActionRunAutotune(injector: HasAndroidInjector) : Action(injector) {
|
|||
return this
|
||||
}
|
||||
|
||||
override fun isValid(): Boolean = profileFunction.getProfile() != null
|
||||
override fun isValid(): Boolean = profileFunction.getProfile() != null && activePlugin.getSpecificPluginsListByInterface(Autotune::class.java).first().isEnabled()
|
||||
}
|
Loading…
Reference in a new issue