mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 12:38:33 +00:00
Hide keyboard when navigating back to chat list via toolbar.
This commit is contained in:
committed by
Cody Henthorne
parent
322ea97377
commit
c70a8d48a8
@@ -1376,6 +1376,7 @@ class ConversationFragment :
|
||||
binding.toolbar.setNavigationIcon(R.drawable.ic_arrow_left_24)
|
||||
binding.toolbar.setNavigationContentDescription(R.string.ConversationFragment__content_description_back_button)
|
||||
binding.toolbar.setNavigationOnClickListener {
|
||||
binding.root.hideKeyboard(composeText)
|
||||
requireActivity().onBackPressedDispatcher.onBackPressed()
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user