Inject AvatarRenderer normally.

This commit is contained in:
Benoit Marty 2022-08-20 11:51:57 +02:00 committed by Benoit Marty
parent 80b3c45928
commit c494644abf
1 changed files with 1 additions and 2 deletions

View File

@ -45,11 +45,10 @@ class FtueAuthChooseProfilePictureFragment :
@Inject lateinit var activeSessionHolder: ActiveSessionHolder
@Inject lateinit var galleryOrCameraDialogHelperFactory: GalleryOrCameraDialogHelperFactory
@Inject lateinit var avatarRenderer: AvatarRenderer
private lateinit var galleryOrCameraDialogHelper: GalleryOrCameraDialogHelper
private val avatarRenderer: AvatarRenderer by lazy { requireContext().singletonEntryPoint().avatarRenderer() }
override fun getBinding(inflater: LayoutInflater, container: ViewGroup?): FragmentFtueProfilePictureBinding {
return FragmentFtueProfilePictureBinding.inflate(inflater, container, false)
}