diff --git a/app/src/main/java/eu/kanade/tachiyomi/extension/ExtensionManager.kt b/app/src/main/java/eu/kanade/tachiyomi/extension/ExtensionManager.kt index b2918a972..e2502cbc7 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/extension/ExtensionManager.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/extension/ExtensionManager.kt @@ -132,9 +132,6 @@ class ExtensionManager( * Returns the relay of the available extensions as an observable. */ fun getAvailableExtensionsObservable(): Observable> { - if (!availableExtensionsRelay.hasValue()) { - findAvailableExtensions() - } return availableExtensionsRelay.asObservable() } diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/extension/ExtensionPresenter.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/extension/ExtensionPresenter.kt index 54edce30f..95faaece2 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/extension/ExtensionPresenter.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/extension/ExtensionPresenter.kt @@ -29,6 +29,7 @@ open class ExtensionPresenter( override fun onCreate(savedState: Bundle?) { super.onCreate(savedState) + extensionManager.findAvailableExtensions() bindToExtensionsObservable() }