From 283686a9d82fef066bb51dbdc189c0bf4e67bbc3 Mon Sep 17 00:00:00 2001 From: ericdecanini Date: Wed, 14 Sep 2022 17:22:55 -0400 Subject: [PATCH 1/2] Adds dismiss to new chat bottom sheet actions --- .../app/features/home/room/list/home/NewChatBottomSheet.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vector/src/main/java/im/vector/app/features/home/room/list/home/NewChatBottomSheet.kt b/vector/src/main/java/im/vector/app/features/home/room/list/home/NewChatBottomSheet.kt index 1d8a70c3bb..076b4fe4ee 100644 --- a/vector/src/main/java/im/vector/app/features/home/room/list/home/NewChatBottomSheet.kt +++ b/vector/src/main/java/im/vector/app/features/home/room/list/home/NewChatBottomSheet.kt @@ -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()) } } From a3fff0777d996147547d61f9b4bf327ca8603a88 Mon Sep 17 00:00:00 2001 From: ericdecanini Date: Wed, 14 Sep 2022 17:25:38 -0400 Subject: [PATCH 2/2] Adds changelog file --- changelog.d/7132.bugfix | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/7132.bugfix diff --git a/changelog.d/7132.bugfix b/changelog.d/7132.bugfix new file mode 100644 index 0000000000..1ef925d1d3 --- /dev/null +++ b/changelog.d/7132.bugfix @@ -0,0 +1 @@ +[New Layout] Fixes new chat dialog not getting dismissed after selecting its actions