From fccd4f7ec4e1672e211204ea50b30a51d65dbc48 Mon Sep 17 00:00:00 2001 From: Stanislav Dmitrenko <7953703+avently@users.noreply.github.com> Date: Wed, 28 Jun 2023 15:49:01 +0300 Subject: [PATCH] android: returned lost focus in text field (#2625) --- .../src/main/java/chat/simplex/app/views/chat/SendMsgView.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/android/app/src/main/java/chat/simplex/app/views/chat/SendMsgView.kt b/apps/android/app/src/main/java/chat/simplex/app/views/chat/SendMsgView.kt index c976a5ab8..43fcc155e 100644 --- a/apps/android/app/src/main/java/chat/simplex/app/views/chat/SendMsgView.kt +++ b/apps/android/app/src/main/java/chat/simplex/app/views/chat/SendMsgView.kt @@ -395,7 +395,7 @@ private fun NativeKeyboard( it.setTextColor(textColor.toArgb()) it.textSize = textStyle.value.fontSize.value DrawableCompat.setTint(it.background, tintColor.toArgb()) - it.isFocusable = composeState.value.preview !is ComposePreview.VoicePreview && !cs.inProgress + it.isFocusable = composeState.value.preview !is ComposePreview.VoicePreview it.isFocusableInTouchMode = it.isFocusable if (cs.message != it.text.toString()) { it.setText(cs.message)