Commit 8abf7c68 authored by Konstantin Tskhovrebov's avatar Konstantin Tskhovrebov 🤖

Merge branch 'fix/fragment_scope_crash' into 'develop'

Fix crash with fragment parent scope initializing.

See merge request terrakok/gitlab-client!157
parents 90663b1e 5de6f629
......@@ -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