forked from mirror/monocles_chat_clean
Open chat details when click on title in tablet mode too
This commit is contained in:
parent
3ebf01437d
commit
c8a769ae5f
1 changed files with 5 additions and 0 deletions
|
@ -1568,6 +1568,11 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio
|
|||
AvatarWorkerTask.loadAvatar(conversation, binding.toolbarAvatar, R.dimen.muc_avatar_actionbar);
|
||||
binding.toolbarAvatar.setVisibility(View.VISIBLE);
|
||||
binding.toolbarTitle.setText(conversation.getName());
|
||||
binding.toolbar.setOnClickListener((v) -> { if(!xmppConnectionService.isOnboarding()) openConversationDetails(conversation); });
|
||||
ToolbarUtils.setActionBarOnClickListener(
|
||||
binding.toolbar,
|
||||
(v) -> { if(!xmppConnectionService.isOnboarding()) openConversationDetails(conversation); }
|
||||
);
|
||||
} else {
|
||||
binding.toolbarTitle.setText(R.string.app_name);
|
||||
binding.toolbar.setOnClickListener(null);
|
||||
|
|
Loading…
Add table
Reference in a new issue