1
0
Fork 1

Collapse after choosing something

(cherry picked from commit 9bcfd8421cc9d70d3b104b3914731d189eeb9e11)
This commit is contained in:
Stephen Paul Weber 2024-09-12 01:35:05 -05:00 committed by Arne
parent 14c943aab2
commit 34072f8472

View file

@ -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;