Add support for notification actions on macOS
This commit is contained in:
parent
873a315538
commit
4f0d48f164
16 changed files with 136 additions and 13 deletions
|
@ -32,7 +32,7 @@ void OnWebNotificationAllowed(base::WeakPtr<Notification> notification,
|
|||
if (allowed)
|
||||
notification->Show(data.title, data.body, data.tag, data.icon, icon,
|
||||
audio_muted ? true : data.silent, false,
|
||||
base::UTF8ToUTF16(""));
|
||||
base::UTF8ToUTF16(""), {});
|
||||
else
|
||||
notification->Destroy();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue