mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-22 07:44:00 +01:00
"Invite users to space" dialog now closed when user choose invite method (#5126)
This commit is contained in:
parent
ecf356f6eb
commit
65fd5489a3
1
changelog.d/4295.misc
Normal file
1
changelog.d/4295.misc
Normal file
@ -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
Block a user