Commit 2879f73e authored by Łukasz Rutkowski's avatar Łukasz Rutkowski

Fix emoji keyboard not hiding when closing search

parent e05a8379
......@@ -85,7 +85,10 @@ private fun ChatRoomFragment.setupSearchMessageMenuItem(menu: Menu, context: Con
return true
}
override fun onMenuItemActionCollapse(item: MenuItem?) = true
override fun onMenuItemActionCollapse(item: MenuItem?): Boolean {
dismissEmojiKeyboard()
return true
}
})
(searchItem?.actionView as? SearchView)?.let {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment