mirror of
https://github.com/gsantner/dandelion
synced 2024-11-22 04:12:08 +01:00
Do not open load the stream when clicked on toolbar
This commit is contained in:
parent
91c706ed4a
commit
ebedfd9fb5
1 changed files with 1 additions and 11 deletions
|
@ -370,17 +370,7 @@ public class MainActivity extends AppCompatActivity
|
||||||
navMenu.findItem(R.id.nav_profile).setVisible(appSettings.isVisibleInNavProfile());
|
navMenu.findItem(R.id.nav_profile).setVisible(appSettings.isVisibleInNavProfile());
|
||||||
navMenu.findItem(R.id.nav_public).setVisible(appSettings.isVisibleInNavPublic_activities());
|
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()
|
* Forward incoming intents to handleIntent()
|
||||||
* @param intent incoming
|
* @param intent incoming
|
||||||
|
|
Loading…
Reference in a new issue