No need to Inject constructor

This commit is contained in:
Benoit Marty 2022-08-19 16:19:23 +02:00 committed by Benoit Marty
parent 5f0b26ae39
commit 997336ec5d
2 changed files with 2 additions and 3 deletions

View file

@ -62,7 +62,7 @@ import javax.inject.Inject
* Screen showing a map with all the current users sharing their live location in a room.
*/
@AndroidEntryPoint
class LiveLocationMapViewFragment @Inject constructor() : VectorBaseFragment<FragmentLiveLocationMapViewBinding>() {
class LiveLocationMapViewFragment : VectorBaseFragment<FragmentLiveLocationMapViewBinding>() {
@Inject lateinit var urlMapProvider: UrlMapProvider
@Inject lateinit var bottomSheetController: LiveLocationBottomSheetController

View file

@ -27,13 +27,12 @@ import dagger.hilt.android.AndroidEntryPoint
import im.vector.app.R
import im.vector.app.core.platform.VectorBaseFragment
import im.vector.app.databinding.FragmentSettingsDevicesBinding
import javax.inject.Inject
/**
* Display the list of the user's devices and sessions.
*/
@AndroidEntryPoint
class VectorSettingsDevicesFragment @Inject constructor() : VectorBaseFragment<FragmentSettingsDevicesBinding>() {
class VectorSettingsDevicesFragment : VectorBaseFragment<FragmentSettingsDevicesBinding>() {
override fun getBinding(inflater: LayoutInflater, container: ViewGroup?): FragmentSettingsDevicesBinding {
return FragmentSettingsDevicesBinding.inflate(inflater, container, false)