mirror of
https://github.com/gsantner/dandelion
synced 2024-11-25 13:52:08 +01:00
Do not attempt to load stream when there is no registered account
This commit is contained in:
parent
00e238a028
commit
b8476aa107
1 changed files with 1 additions and 1 deletions
|
@ -421,7 +421,7 @@ public class MainActivity extends ThemedActivity
|
||||||
@OnClick(R.id.main__topbar)
|
@OnClick(R.id.main__topbar)
|
||||||
public void onToolBarClicked(View view) {
|
public void onToolBarClicked(View view) {
|
||||||
AppLog.i(this, "onToolBarClicked()");
|
AppLog.i(this, "onToolBarClicked()");
|
||||||
if(appSettings.isTopbarStreamShortcutEnabled()) {
|
if(appSettings.isTopbarStreamShortcutEnabled() && appSettings.hasPod()) {
|
||||||
onNavigationItemSelected(navView.getMenu().findItem(R.id.nav_stream));
|
onNavigationItemSelected(navView.getMenu().findItem(R.id.nav_stream));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue