Notification vector icon does not show up |
|||
Issue description
Chrome Version: 70.0.3512.0
OS: 10908.0.0 dev
Steps to reproduce:
(1) Create a notification in chrome/browser/ side
(2) Set vector icon by
notification.set_vector_small_image(ash::kNotificationGoogleIcon);
(3) Display the notification by
NotificationDisplayService::GetForProfile(profile)->Display(
NotificationHandler::Type::TRANSIENT, notification);
What is the expected result?
Small vector icon appears at the top left corner of the notification.
What happens instead?
The icon is blank. Screenshot attached.
,
Aug 7
Sharing my code: https://chromium-review.googlesource.com/c/chromium/src/+/1162976 Either I tried to set the vector small icon in assitant_setup.cc Or to set the vector small icon in ash side (MessageCenterController::ShowClientNotification) The icon shown is blank.
,
Aug 7
you didn't set the |accent_color|
,
Aug 7
Thanks for looking into it! |
|||
►
Sign in to add a comment |
|||
Comment 1 by est...@chromium.org
, Aug 7Status: Assigned (was: Untriaged)