Rename layout for clarity

This commit is contained in:
Benoit Marty 2022-07-28 12:34:45 +02:00 committed by Benoit Marty
parent e9aab6331a
commit 07dc0d2e54
2 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ import im.vector.app.core.extensions.cleanup
import im.vector.app.core.extensions.configureWith import im.vector.app.core.extensions.configureWith
import im.vector.app.core.platform.StateView import im.vector.app.core.platform.StateView
import im.vector.app.core.platform.VectorBaseFragment import im.vector.app.core.platform.VectorBaseFragment
import im.vector.app.databinding.FragmentGroupListBinding import im.vector.app.databinding.FragmentSpaceListBinding
import im.vector.app.features.home.HomeActivitySharedAction import im.vector.app.features.home.HomeActivitySharedAction
import im.vector.app.features.home.HomeSharedActionViewModel import im.vector.app.features.home.HomeSharedActionViewModel
import org.matrix.android.sdk.api.session.room.model.RoomSummary import org.matrix.android.sdk.api.session.room.model.RoomSummary
@ -39,13 +39,13 @@ import javax.inject.Inject
class SpaceListFragment @Inject constructor( class SpaceListFragment @Inject constructor(
private val spaceController: SpaceSummaryController private val spaceController: SpaceSummaryController
) : VectorBaseFragment<FragmentGroupListBinding>(), SpaceSummaryController.Callback { ) : VectorBaseFragment<FragmentSpaceListBinding>(), SpaceSummaryController.Callback {
private lateinit var sharedActionViewModel: HomeSharedActionViewModel private lateinit var sharedActionViewModel: HomeSharedActionViewModel
private val viewModel: SpaceListViewModel by fragmentViewModel() private val viewModel: SpaceListViewModel by fragmentViewModel()
override fun getBinding(inflater: LayoutInflater, container: ViewGroup?): FragmentGroupListBinding { override fun getBinding(inflater: LayoutInflater, container: ViewGroup?): FragmentSpaceListBinding {
return FragmentGroupListBinding.inflate(inflater, container, false) return FragmentSpaceListBinding.inflate(inflater, container, false)
} }
override fun onViewCreated(view: View, savedInstanceState: Bundle?) { override fun onViewCreated(view: View, savedInstanceState: Bundle?) {