Fixes #4079 Menu item are not visible (#4145)

* Revert custom stylings of toolbar

* Enable back button on toolbar
This commit is contained in:
neslihanturan 2021-01-02 16:06:08 +03:00 committed by GitHub
parent 86c571ceee
commit b06f875812
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -69,6 +69,7 @@ public class SearchActivity extends BaseActivity
ButterKnife.bind(this);
setTitle(getString(R.string.title_activity_search));
setSupportActionBar(toolbar);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
toolbar.setNavigationOnClickListener(v->onBackPressed());
supportFragmentManager = getSupportFragmentManager();
setSearchHistoryFragment();