mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +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);
|
||||
ButterKnife.bind(this);
|
||||
setSupportActionBar(toolbar);
|
||||
toolbar.setNavigationOnClickListener(view -> {
|
||||
onSupportNavigateUp();
|
||||
});
|
||||
if (applicationKvStore.getBoolean("login_skipped") == true) {
|
||||
setTitle(getString(R.string.explore_tab_title_mobile));
|
||||
setUpLoggedOutPager();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue