add text to spinner when click on space member (dm)

This commit is contained in:
NIkita Fedrunov 2022-04-04 09:49:47 +02:00
parent 3aac59a5ae
commit 4c059e7819

View File

@ -24,6 +24,7 @@ import androidx.core.view.isVisible
import androidx.lifecycle.lifecycleScope import androidx.lifecycle.lifecycleScope
import com.airbnb.mvrx.Mavericks import com.airbnb.mvrx.Mavericks
import dagger.hilt.android.AndroidEntryPoint import dagger.hilt.android.AndroidEntryPoint
import im.vector.app.R
import im.vector.app.core.extensions.hideKeyboard import im.vector.app.core.extensions.hideKeyboard
import im.vector.app.core.extensions.replaceFragment import im.vector.app.core.extensions.replaceFragment
import im.vector.app.core.platform.GenericIdArgs import im.vector.app.core.platform.GenericIdArgs
@ -79,7 +80,7 @@ class SpacePeopleActivity : VectorBaseActivity<ActivitySimpleLoadingBinding>() {
is SpacePeopleSharedAction.NavigateToRoom -> navigateToRooms(sharedAction) is SpacePeopleSharedAction.NavigateToRoom -> navigateToRooms(sharedAction)
SpacePeopleSharedAction.HideModalLoading -> hideWaitingView() SpacePeopleSharedAction.HideModalLoading -> hideWaitingView()
SpacePeopleSharedAction.ShowModalLoading -> { SpacePeopleSharedAction.ShowModalLoading -> {
showWaitingView() showWaitingView(getString(R.string.please_wait))
} }
is SpacePeopleSharedAction.NavigateToInvite -> { is SpacePeopleSharedAction.NavigateToInvite -> {
ShareSpaceBottomSheet.show(supportFragmentManager, sharedAction.spaceId) ShareSpaceBottomSheet.show(supportFragmentManager, sharedAction.spaceId)