From 720f553717a91b77327ef29289dc5bdbf5ce92ee Mon Sep 17 00:00:00 2001 From: Hocuri Date: Mon, 8 Mar 2021 12:26:02 +0100 Subject: [PATCH] Make the upper back button return to conversation list even if the keyboard is open As discussed in the Testing group --- src/org/thoughtcrime/securesms/ConversationActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/thoughtcrime/securesms/ConversationActivity.java b/src/org/thoughtcrime/securesms/ConversationActivity.java index f10593db2..a179c7211 100644 --- a/src/org/thoughtcrime/securesms/ConversationActivity.java +++ b/src/org/thoughtcrime/securesms/ConversationActivity.java @@ -902,7 +902,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity }); titleView.setOnClickListener(v -> handleProfile()); - titleView.setOnBackClickedListener(view -> onBackPressed()); + titleView.setOnBackClickedListener(view -> handleReturnToConversationList()); composeText.setOnKeyListener(composeKeyPressedListener); composeText.addTextChangedListener(composeKeyPressedListener);