Don't count taps that are too far to the right

This commit is contained in:
Hocuri
2024-08-26 22:32:49 +02:00
parent 56b925f600
commit 59435e8975
2 changed files with 53 additions and 43 deletions
@@ -182,7 +182,7 @@ public class ConversationListActivity extends PassphraseRequiredActionBarActivit
TooltipCompat.setTooltipText(searchAction, getText(R.string.search_explain));
TooltipCompat.setTooltipText(selfAvatar, getText(R.string.switch_account));
toolbar.setOnClickListener(v -> {
findViewById(R.id.avatar_and_title).setOnClickListener(v -> {
if (!isRelayingMessageContent(this)) {
AccountManager.getInstance().showSwitchAccountMenu(this);
}