mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
update loadAllOnlinePlugins
This commit is contained in:
parent
241cc92e84
commit
67addd79a0
1 changed files with 1 additions and 7 deletions
|
@ -193,13 +193,7 @@ object PluginManager {
|
|||
**/
|
||||
fun updateAllOnlinePluginsAndLoadThem(activity: Activity) {
|
||||
// Load all plugins as fast as possible!
|
||||
(getPluginsOnline()).toList().apmap { pluginData ->
|
||||
loadPlugin(
|
||||
activity,
|
||||
File(pluginData.filePath),
|
||||
pluginData
|
||||
)
|
||||
}
|
||||
loadAllOnlinePlugins(activity)
|
||||
|
||||
ioSafe {
|
||||
afterPluginsLoadedEvent.invoke(true)
|
||||
|
|
Loading…
Reference in a new issue