Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
fix: Title in Discovery WebView
Browse files Browse the repository at this point in the history
Fixes: LEARNER-9514
  • Loading branch information
HamzaIsrar12 committed Aug 25, 2023
1 parent 2da3554 commit a8995dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,17 @@ protected void onCreate(Bundle savedInstanceState) {
environment.getAnalyticsRegistry().trackScreenView(Analytics.Screens.FIND_COURSES);
}

@Override
public void onResume() {
super.onResume();
AuthPanelUtils.configureAuthPanel(findViewById(R.id.auth_panel), environment);
}

@Override
protected void configureActionBar() {
ActionBar bar = getSupportActionBar();
if (bar != null) {
bar.hide();
bar.setDisplayShowHomeEnabled(false);
bar.setDisplayHomeAsUpEnabled(false);
bar.setIcon(android.R.color.transparent);
}
}

@Override
public void onResume() {
super.onResume();
AuthPanelUtils.configureAuthPanel(findViewById(R.id.auth_panel), environment);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public void onViewCreated(View view, Bundle savedInstanceState) {
}

private void initTitle() {
binding.toolbar.tvTitle.setText(getString(R.string.label_explore_all_courses));
binding.toolbar.tvTitle.setText(getString(R.string.label_explore_the_catalog));
binding.toolbar.tvTitle.setTextSize(TypedValue.COMPLEX_UNIT_PX, getResources().getDimension(R.dimen.edx_large));

ToolbarExtKt.setTitleStateListener(binding.toolbar.appbar,
Expand Down

0 comments on commit a8995dd

Please sign in to comment.