"Invite users to space" dialog now closed when user choose invite method (#5126)
This commit is contained in:
parent
ecf356f6eb
commit
65fd5489a3
|
@ -0,0 +1 @@
|
|||
"Invite users to space" dialog now closed when user choose invite method
|
|
@ -85,6 +85,7 @@ class ShareSpaceBottomSheet : VectorBaseBottomSheetDialogFragment<BottomSheetSpa
|
|||
is ShareSpaceViewEvents.NavigateToInviteUser -> {
|
||||
val intent = InviteUsersToRoomActivity.getIntent(requireContext(), event.spaceId)
|
||||
startActivity(intent)
|
||||
dismissAllowingStateLoss()
|
||||
}
|
||||
is ShareSpaceViewEvents.ShowInviteByLink -> {
|
||||
startSharePlainTextIntent(
|
||||
|
@ -94,6 +95,7 @@ class ShareSpaceBottomSheet : VectorBaseBottomSheetDialogFragment<BottomSheetSpa
|
|||
text = getString(R.string.share_space_link_message, event.spaceName, event.permalink),
|
||||
extraTitle = getString(R.string.share_space_link_message, event.spaceName, event.permalink)
|
||||
)
|
||||
dismissAllowingStateLoss()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue