From 6d02e01b7735b45c3643afd627f5caf9de848d47 Mon Sep 17 00:00:00 2001 From: "sergei.bakhtiarov" Date: Mon, 13 Jan 2025 14:05:41 +0100 Subject: [PATCH] fix: emoji picker dialog showing randomly [#WPB-6681] --- app/src/main/kotlin/com/wire/android/ui/emoji/EmojiPicker.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/wire/android/ui/emoji/EmojiPicker.kt b/app/src/main/kotlin/com/wire/android/ui/emoji/EmojiPicker.kt index c0dc587d7f..a72f61f61a 100644 --- a/app/src/main/kotlin/com/wire/android/ui/emoji/EmojiPicker.kt +++ b/app/src/main/kotlin/com/wire/android/ui/emoji/EmojiPicker.kt @@ -40,6 +40,7 @@ fun EmojiPickerBottomSheet( onDismiss.invoke() } findViewById(R.id.emoji_picker)?.setOnEmojiPickedListener { emojiViewItem -> + dismiss() onEmojiSelected(emojiViewItem.emoji) } findViewById(R.id.handle)?.let { handle ->