Inject AvatarRenderer normally.
This commit is contained in:
parent
80b3c45928
commit
c494644abf
|
@ -45,11 +45,10 @@ class FtueAuthChooseProfilePictureFragment :
|
||||||
|
|
||||||
@Inject lateinit var activeSessionHolder: ActiveSessionHolder
|
@Inject lateinit var activeSessionHolder: ActiveSessionHolder
|
||||||
@Inject lateinit var galleryOrCameraDialogHelperFactory: GalleryOrCameraDialogHelperFactory
|
@Inject lateinit var galleryOrCameraDialogHelperFactory: GalleryOrCameraDialogHelperFactory
|
||||||
|
@Inject lateinit var avatarRenderer: AvatarRenderer
|
||||||
|
|
||||||
private lateinit var galleryOrCameraDialogHelper: GalleryOrCameraDialogHelper
|
private lateinit var galleryOrCameraDialogHelper: GalleryOrCameraDialogHelper
|
||||||
|
|
||||||
private val avatarRenderer: AvatarRenderer by lazy { requireContext().singletonEntryPoint().avatarRenderer() }
|
|
||||||
|
|
||||||
override fun getBinding(inflater: LayoutInflater, container: ViewGroup?): FragmentFtueProfilePictureBinding {
|
override fun getBinding(inflater: LayoutInflater, container: ViewGroup?): FragmentFtueProfilePictureBinding {
|
||||||
return FragmentFtueProfilePictureBinding.inflate(inflater, container, false)
|
return FragmentFtueProfilePictureBinding.inflate(inflater, container, false)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue