show correct title when switching to "on device"

This commit is contained in:
tobiasKaminsky 2017-05-04 14:18:32 +02:00
parent 292b4bf83e
commit 9d7a831114
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -425,6 +425,7 @@ public abstract class DrawerActivity extends ToolbarActivity implements DisplayU
case R.id.nav_on_device:
menuItem.setChecked(true);
mCheckedMenuItem = menuItem.getItemId();
EventBus.getDefault().post(new ChangeMenuEvent());
showFiles(true);
break;
case R.id.nav_uploads: