Merge pull request #10943 from electron/ensure-contents-clicked
Ensure the click event is only dispatched on ContentsClicked activation type
This commit is contained in:
commit
5c6d418b59
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@
|
||||||
notification->NotificationReplied([notif.response.string UTF8String]);
|
notification->NotificationReplied([notif.response.string UTF8String]);
|
||||||
} else if (notif.activationType == NSUserNotificationActivationTypeActionButtonClicked) {
|
} else if (notif.activationType == NSUserNotificationActivationTypeActionButtonClicked) {
|
||||||
notification->NotificationButtonClicked();
|
notification->NotificationButtonClicked();
|
||||||
} else {
|
} else if (notif.activationType == NSUserNotificationActivationTypeContentsClicked) {
|
||||||
notification->NotificationClicked();
|
notification->NotificationClicked();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue