mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 18:35:40 +03:00
using fragment constructor vai fragment module instead of hilt entry point
This commit is contained in:
parent
ccd2d95f0f
commit
6fbf8faf53
1 changed files with 4 additions and 6 deletions
|
@ -24,7 +24,6 @@ import android.view.ViewGroup
|
|||
import androidx.core.view.isVisible
|
||||
import com.airbnb.mvrx.withState
|
||||
import com.google.android.material.dialog.MaterialAlertDialogBuilder
|
||||
import dagger.hilt.android.AndroidEntryPoint
|
||||
import im.vector.app.BuildConfig
|
||||
import im.vector.app.R
|
||||
import im.vector.app.databinding.FragmentFtueAuthSplashBinding
|
||||
|
@ -39,11 +38,10 @@ import javax.inject.Inject
|
|||
/**
|
||||
* In this screen, the user is viewing an introduction to what he can do with this application
|
||||
*/
|
||||
@AndroidEntryPoint
|
||||
class FtueAuthSplashFragment : AbstractFtueAuthFragment<FragmentFtueAuthSplashBinding>() {
|
||||
|
||||
@Inject lateinit var vectorPreferences: VectorPreferences
|
||||
@Inject lateinit var vectorFeatures: VectorFeatures
|
||||
class FtueAuthSplashFragment @Inject constructor(
|
||||
private val vectorPreferences: VectorPreferences,
|
||||
private val vectorFeatures: VectorFeatures
|
||||
) : AbstractFtueAuthFragment<FragmentFtueAuthSplashBinding>() {
|
||||
|
||||
override fun getBinding(inflater: LayoutInflater, container: ViewGroup?): FragmentFtueAuthSplashBinding {
|
||||
return FragmentFtueAuthSplashBinding.inflate(inflater, container, false)
|
||||
|
|
Loading…
Reference in a new issue