| Index: ash/common/system/cast/tray_cast.cc
|
| diff --git a/ash/common/system/cast/tray_cast.cc b/ash/common/system/cast/tray_cast.cc
|
| index c130e35db96d6f6eacd1fdbc76d682e22597b193..0ae15ec33b280af972d7824bfdd9af7886e59672 100644
|
| --- a/ash/common/system/cast/tray_cast.cc
|
| +++ b/ash/common/system/cast/tray_cast.cc
|
| @@ -515,6 +515,9 @@ views::View* CastDetailedView::AddToReceiverList(
|
| }
|
|
|
| void CastDetailedView::AppendSettingsEntries() {
|
| + if (MaterialDesignController::IsSystemTrayMenuMaterial())
|
| + return;
|
| +
|
| // Settings requires a browser window, hide it for non logged in user.
|
| if (login_ == LoginStatus::NOT_LOGGED_IN || login_ == LoginStatus::LOCKED ||
|
| WmShell::Get()->GetSessionStateDelegate()->IsInSecondaryLoginScreen()) {
|
|
|