Fixed the issue with back navigation button on toolbar in explore tab. (#4175)

This commit is contained in:
Pratham Pahariya 2021-01-15 12:42:43 +05:30 committed by GitHub
parent a47f763b6a
commit ca82addb58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -109,6 +109,9 @@ public class MainActivity extends BaseActivity
setContentView(R.layout.main);
ButterKnife.bind(this);
setSupportActionBar(toolbar);
toolbar.setNavigationOnClickListener(view -> {
onSupportNavigateUp();
});
if (applicationKvStore.getBoolean("login_skipped") == true) {
setTitle(getString(R.string.explore_tab_title_mobile));
setUpLoggedOutPager();