Notification: pass tag to Show method
This commit is contained in:
parent
11685faffa
commit
59ed6ad413
8 changed files with 8 additions and 1 deletions
|
@ -37,7 +37,7 @@ void OnWebNotificationAllowed(
|
|||
auto notification = presenter->CreateNotification(adapter.get());
|
||||
if (notification) {
|
||||
ignore_result(adapter.release()); // it will release itself automatically.
|
||||
notification->Show(data.title, data.body, data.icon, icon, data.silent);
|
||||
notification->Show(data.title, data.body, data.tag, data.icon, icon, data.silent);
|
||||
*cancel_callback = base::Bind(&RemoveNotification, notification);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue