mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-16 20:10:04 +03:00
Merge pull request #7132 from vector-im/bugfix/eric/dismiss-new-chat
Adds dismissal to new chat bottom sheet actions
This commit is contained in:
commit
a919989fd4
2 changed files with 4 additions and 0 deletions
1
changelog.d/7132.bugfix
Normal file
1
changelog.d/7132.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
[New Layout] Fixes new chat dialog not getting dismissed after selecting its actions
|
|
@ -42,14 +42,17 @@ class NewChatBottomSheet : VectorBaseBottomSheetDialogFragment<FragmentNewChatBo
|
|||
|
||||
private fun initFABs() {
|
||||
views.startChat.debouncedClicks {
|
||||
dismiss()
|
||||
navigator.openCreateDirectRoom(requireActivity())
|
||||
}
|
||||
|
||||
views.createRoom.debouncedClicks {
|
||||
dismiss()
|
||||
navigator.openCreateRoom(requireActivity())
|
||||
}
|
||||
|
||||
views.exploreRooms.debouncedClicks {
|
||||
dismiss()
|
||||
navigator.openRoomDirectory(requireContext())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue