mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Increase account switcher hitbox
The hitbox for the account switcher was only the own avatar in and the title, so when you tapped a bit too low or too high, nothing happened. This PR changes it to be the whole title bar.
This commit is contained in:
@@ -182,8 +182,7 @@ public class ConversationListActivity extends PassphraseRequiredActionBarActivit
|
||||
TooltipCompat.setTooltipText(searchAction, getText(R.string.search_explain));
|
||||
|
||||
TooltipCompat.setTooltipText(selfAvatar, getText(R.string.switch_account));
|
||||
selfAvatar.setOnClickListener(v -> AccountManager.getInstance().showSwitchAccountMenu(this));
|
||||
title.setOnClickListener(v -> {
|
||||
toolbar.setOnClickListener(v -> {
|
||||
if (!isRelayingMessageContent(this)) {
|
||||
AccountManager.getInstance().showSwitchAccountMenu(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user