forked from recloudstream/cloudstream
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) {
|
fun updateAllOnlinePluginsAndLoadThem(activity: Activity) {
|
||||||
// Load all plugins as fast as possible!
|
// Load all plugins as fast as possible!
|
||||||
(getPluginsOnline()).toList().apmap { pluginData ->
|
loadAllOnlinePlugins(activity)
|
||||||
loadPlugin(
|
|
||||||
activity,
|
|
||||||
File(pluginData.filePath),
|
|
||||||
pluginData
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
ioSafe {
|
ioSafe {
|
||||||
afterPluginsLoadedEvent.invoke(true)
|
afterPluginsLoadedEvent.invoke(true)
|
||||||
|
|
Loading…
Reference in a new issue