| Index: ui/app_list/views/app_list_main_view.cc
|
| diff --git a/ui/app_list/views/app_list_main_view.cc b/ui/app_list/views/app_list_main_view.cc
|
| index df9f32b49734ed99b4df132e90fb4f3d58072eb3..dceae0faa72d4f49bddc4e827b990d5bc0c64783 100644
|
| --- a/ui/app_list/views/app_list_main_view.cc
|
| +++ b/ui/app_list/views/app_list_main_view.cc
|
| @@ -271,7 +271,7 @@ void AppListMainView::OnCustomLauncherPageEnabledStateChanged(bool enabled) {
|
| if (!custom_page)
|
| return;
|
|
|
| - if (enabled) {
|
| + if (ShouldShowCustomLauncherPage()) {
|
| // Make the custom page view visible again.
|
| custom_page->SetVisible(true);
|
| } else if (contents_view_->IsStateActive(
|
|
|