[merge] Fix PromptSimplifiedModeFragment crash

Change-Id: I6b9cbb7f6950cf22c7dba3799e1b80b7df85f0b7
This commit is contained in:
SpiritCroc 2022-09-11 19:44:36 +02:00
parent 414881eb56
commit b7faa69834
1 changed files with 3 additions and 1 deletions

View File

@ -27,7 +27,9 @@ import im.vector.app.features.settings.VectorPreferences
import javax.inject.Inject import javax.inject.Inject
@AndroidEntryPoint @AndroidEntryPoint
class PromptSimplifiedModeFragment @Inject constructor(private val vectorPreferences: VectorPreferences) : VectorBaseFragment<FragmentPromptSimplifiedModeBinding>() { class PromptSimplifiedModeFragment : VectorBaseFragment<FragmentPromptSimplifiedModeBinding>() {
@Inject lateinit var vectorPreferences: VectorPreferences
override fun getBinding(inflater: LayoutInflater, container: ViewGroup?): FragmentPromptSimplifiedModeBinding { override fun getBinding(inflater: LayoutInflater, container: ViewGroup?): FragmentPromptSimplifiedModeBinding {
return FragmentPromptSimplifiedModeBinding.inflate(inflater, container, false) return FragmentPromptSimplifiedModeBinding.inflate(inflater, container, false)