mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-05-25 17:45:12 +01:00
Hide keyboard before navigating to chat settings.
This commit is contained in:
committed by
jeffrey-signal
parent
9d1d5142da
commit
01e1cb4d67
@@ -4317,6 +4317,7 @@ class ConversationFragment :
|
||||
|
||||
override fun handleManageGroup() {
|
||||
viewModel.recipientSnapshot?.let { recipient ->
|
||||
container.hideKeyboard(composeText)
|
||||
chatRouter.goToChatDetail(MainNavigationDetailLocation.Chats.ConversationSettings(recipient.id))
|
||||
}
|
||||
}
|
||||
@@ -4354,6 +4355,7 @@ class ConversationFragment :
|
||||
override fun handleConversationSettings() {
|
||||
viewModel.recipientSnapshot?.let { recipient ->
|
||||
if (!viewModel.hasMessageRequestState || recipient.isBlocked) {
|
||||
container.hideKeyboard(composeText)
|
||||
chatRouter.goToChatDetail(MainNavigationDetailLocation.Chats.ConversationSettings(recipient.id))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user