mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
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