Fix merge with another crash

This commit is contained in:
Jobobby04 2020-05-04 00:05:44 -04:00
parent e192806950
commit d4659ffaae

View File

@ -106,11 +106,13 @@ class SourceController(bundle: Bundle? = null) :
requestPermissionsSafe(arrayOf(WRITE_EXTERNAL_STORAGE), 301)
// Update list on extension changes (e.g. new installation)
(parentController as BrowseController).extensionListUpdateRelay
.subscribeUntilDestroy {
presenter.updateSources()
}
if (mode == Mode.CATALOGUE) {
// Update list on extension changes (e.g. new installation)
(parentController as BrowseController).extensionListUpdateRelay
.subscribeUntilDestroy {
presenter.updateSources()
}
}
}
override fun onDestroyView(view: View) {