Commit 5de6f629 authored by Eugene Shapovalov's avatar Eugene Shapovalov 💬

Fix crash with fragment parent scope initializing.

parent 90663b1e
......@@ -11,6 +11,7 @@ import ru.terrakok.gitlabclient.entity.app.develop.AppLibrary
import ru.terrakok.gitlabclient.extension.tryOpenLink
import ru.terrakok.gitlabclient.presentation.libraries.LibrariesPresenter
import ru.terrakok.gitlabclient.presentation.libraries.LibrariesView
import ru.terrakok.gitlabclient.toothpick.DI
import ru.terrakok.gitlabclient.ui.global.BaseFragment
import ru.terrakok.gitlabclient.ui.global.list.AppLibraryAdapterDelegate
......@@ -20,6 +21,8 @@ import ru.terrakok.gitlabclient.ui.global.list.AppLibraryAdapterDelegate
class LibrariesFragment : BaseFragment(), LibrariesView {
override val layoutRes = R.layout.fragment_libraries
override val parentScopeName = DI.APP_SCOPE
private val adapter: LibraryAdapter by lazy { LibraryAdapter() }
@InjectPresenter
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment