mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-16 20:10:04 +03:00
Adds dismiss to new chat bottom sheet actions
This commit is contained in:
parent
1d3c191153
commit
283686a9d8
1 changed files with 3 additions and 0 deletions
|
@ -41,14 +41,17 @@ class NewChatBottomSheet : BottomSheetDialogFragment() {
|
|||
|
||||
private fun initFABs() {
|
||||
binding.startChat.setOnClickListener {
|
||||
dismiss()
|
||||
navigator.openCreateDirectRoom(requireActivity())
|
||||
}
|
||||
|
||||
binding.createRoom.setOnClickListener {
|
||||
dismiss()
|
||||
navigator.openCreateRoom(requireActivity())
|
||||
}
|
||||
|
||||
binding.exploreRooms.setOnClickListener {
|
||||
dismiss()
|
||||
navigator.openRoomDirectory(requireContext())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue