Skip to content

Commit

Permalink
Merge branch 'release/cycle-4.6' into fix/mls-initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Garzas authored Jan 10, 2025
2 parents 9385e44 + c9e1e24 commit 1a17012
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ private fun MessageComposerTextInput(
} else {
isReadOnly = true
keyboardController?.hide()
focusRequester.freeFocus()
}
}

Expand All @@ -312,9 +313,7 @@ private fun MessageComposerTextInput(
modifier = modifier
.focusRequester(focusRequester)
.onFocusChanged { focusState ->
if (focusState.isFocused) {
onFocusChanged(focusState.isFocused)
}
onFocusChanged(focusState.isFocused)
}
.onPreInterceptKeyBeforeSoftKeyboard { event ->
if (event.key.nativeKeyCode == android.view.KeyEvent.KEYCODE_BACK) {
Expand Down

0 comments on commit 1a17012

Please sign in to comment.