mirror of
https://github.com/nextcloud/android.git
synced 2024-12-21 16:24:32 +03:00
Unset items on settings & home click
This commit is contained in:
parent
b0700a38e9
commit
0ac0610e13
1 changed files with 2 additions and 0 deletions
|
@ -329,6 +329,8 @@ public abstract class DrawerActivity extends ToolbarActivity implements DisplayU
|
||||||
|
|
||||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||||
public void onMessageEvent(MenuItemClickEvent event) {
|
public void onMessageEvent(MenuItemClickEvent event) {
|
||||||
|
unsetAllDrawerMenuItems();
|
||||||
|
|
||||||
switch (event.menuItem.getItemId()) {
|
switch (event.menuItem.getItemId()) {
|
||||||
case R.id.nav_bar_files:
|
case R.id.nav_bar_files:
|
||||||
showFiles(false);
|
showFiles(false);
|
||||||
|
|
Loading…
Reference in a new issue