Collapse after choosing something
(cherry picked from commit 9bcfd8421cc9d70d3b104b3914731d189eeb9e11)
This commit is contained in:
parent
14c943aab2
commit
34072f8472
1 changed files with 1 additions and 0 deletions
|
@ -443,6 +443,7 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio
|
|||
|
||||
binding.drawer.setOnDrawerItemClickListener((v, drawerItem, pos) -> {
|
||||
final var id = drawerItem.getIdentifier();
|
||||
if (id != DRAWER_START_CHAT) binding.drawer.getExpandableExtension().collapse(false);
|
||||
if (id == DRAWER_SETTINGS) {
|
||||
startActivity(new Intent(this, eu.siacs.conversations.ui.activity.SettingsActivity.class));
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue