forked from recloudstream/cloudstream
minifix
This commit is contained in:
parent
34cbcd8311
commit
f462e1896b
1 changed files with 3 additions and 2 deletions
|
@ -164,8 +164,9 @@ object PluginManager {
|
|||
|
||||
var allCurrentOutDatedPlugins: Set<OnlinePluginData> = emptySet()
|
||||
|
||||
suspend fun loadSinglePlugin(activity: Activity, apiName: String) : Boolean {
|
||||
return getPluginsOnline().firstOrNull { it.internalName == apiName }?.let { savedData ->
|
||||
suspend fun loadSinglePlugin(activity: Activity, apiName: String): Boolean {
|
||||
return (getPluginsOnline().firstOrNull { it.internalName == apiName }
|
||||
?: getPluginsLocal().firstOrNull { it.internalName == apiName })?.let { savedData ->
|
||||
// OnlinePluginData(savedData, onlineData)
|
||||
loadPlugin(
|
||||
activity,
|
||||
|
|
Loading…
Reference in a new issue