From 5c4a1abfd42659821fe48cbc8e55f1c47c33c035 Mon Sep 17 00:00:00 2001 From: Next Alone <12210746+NextAlone@users.noreply.github.com> Date: Fri, 16 Feb 2024 01:34:28 +0800 Subject: [PATCH] fix: keyboard not show in some search occations Signed-off-by: Next Alone <12210746+NextAlone@users.noreply.github.com> --- TMessagesProj/src/main/java/org/telegram/ui/ChatActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TMessagesProj/src/main/java/org/telegram/ui/ChatActivity.java b/TMessagesProj/src/main/java/org/telegram/ui/ChatActivity.java index 413870796c..cc0bac6ac3 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/ChatActivity.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/ChatActivity.java @@ -30449,7 +30449,7 @@ public void openSearchWithText(String text) { updateBottomOverlay(); } if ((threadMessageId == 0 || isTopic || chatMode == MODE_SAVED) && !UserObject.isReplyUser(currentUser)) { - openSearchKeyboard = text == null; + openSearchKeyboard = text == null || text.isEmpty(); if (searchItem != null) { searchItem.openSearch(openSearchKeyboard); }