mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Fixed the issue with back navigation button on toolbar in explore tab. (#4175)
This commit is contained in:
parent
a47f763b6a
commit
ca82addb58
1 changed files with 3 additions and 0 deletions
|
|
@ -109,6 +109,9 @@ public class MainActivity extends BaseActivity
|
||||||
setContentView(R.layout.main);
|
setContentView(R.layout.main);
|
||||||
ButterKnife.bind(this);
|
ButterKnife.bind(this);
|
||||||
setSupportActionBar(toolbar);
|
setSupportActionBar(toolbar);
|
||||||
|
toolbar.setNavigationOnClickListener(view -> {
|
||||||
|
onSupportNavigateUp();
|
||||||
|
});
|
||||||
if (applicationKvStore.getBoolean("login_skipped") == true) {
|
if (applicationKvStore.getBoolean("login_skipped") == true) {
|
||||||
setTitle(getString(R.string.explore_tab_title_mobile));
|
setTitle(getString(R.string.explore_tab_title_mobile));
|
||||||
setUpLoggedOutPager();
|
setUpLoggedOutPager();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue