1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2024-12-22 19:08:03 +01:00

Do not open load the stream when clicked on toolbar

This commit is contained in:
vanitasvitae 2016-10-06 21:23:24 +02:00
parent 91c706ed4a
commit ebedfd9fb5
Signed by: vanitasvitae
GPG key ID: DCCFB3302C9E4615

View file

@ -370,17 +370,7 @@ public class MainActivity extends AppCompatActivity
navMenu.findItem(R.id.nav_profile).setVisible(appSettings.isVisibleInNavProfile());
navMenu.findItem(R.id.nav_public).setVisible(appSettings.isVisibleInNavPublic_activities());
}
/**
* Forward toolbar clicks to onNavigationItemSelected
* @param view selected view
*/
@OnClick(R.id.main__topbar)
public void onToolBarClicked(View view) {
AppLog.i(this, "onToolBarClicked()");
onNavigationItemSelected(navView.getMenu().findItem(R.id.nav_stream));
}
/**
* Forward incoming intents to handleIntent()
* @param intent incoming