mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Pattern code following recent change on updateAllOnlinePluginsAndLoadThem()
This commit is contained in:
parent
46461d862b
commit
70becf72e0
1 changed files with 4 additions and 6 deletions
|
@ -223,7 +223,7 @@ object PluginManager {
|
|||
// Load all plugins as fast as possible!
|
||||
loadAllOnlinePlugins(activity)
|
||||
|
||||
afterPluginsLoadedEvent.invoke(true)
|
||||
afterPluginsLoadedEvent.invoke(true)
|
||||
|
||||
|
||||
val urls = (getKey<Array<RepositoryData>>(REPOSITORIES_KEY)
|
||||
|
@ -288,9 +288,7 @@ object PluginManager {
|
|||
// Load all plugins as fast as possible!
|
||||
loadAllOnlinePlugins(activity)
|
||||
|
||||
ioSafe {
|
||||
afterPluginsLoadedEvent.invoke(true)
|
||||
}
|
||||
afterPluginsLoadedEvent.invoke(true)
|
||||
|
||||
val newDownloadPlugins = mutableListOf<String>()
|
||||
val urls = (getKey<Array<RepositoryData>>(REPOSITORIES_KEY)
|
||||
|
@ -358,9 +356,9 @@ object PluginManager {
|
|||
createNotification(activity, newDownloadPlugins, R.string.plugins_downloaded)
|
||||
}
|
||||
|
||||
// ioSafe {
|
||||
ioSafe {
|
||||
afterPluginsLoadedEvent.invoke(true)
|
||||
// }
|
||||
}
|
||||
|
||||
Log.i(TAG, "Plugin download done!")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue