We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 455b26f commit 6c91ca7Copy full SHA for 6c91ca7
app/src/main/java/com/zulip/android/ZulipActivity.java
@@ -452,7 +452,7 @@ public boolean onPrepareOptionsMenu(Menu menu) {
452
inflater.inflate(R.menu.options, menu);
453
}
454
455
- if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
+ if (this.logged_in && Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
456
// Get the SearchView and set the searchable configuration
457
SearchManager searchManager = (SearchManager) getSystemService(Context.SEARCH_SERVICE);
458
final MenuItem searchMenuItem = menu.findItem(R.id.search);
0 commit comments