mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Ensure the click event is only dispatched on ContentsClicked activation type
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
notification->NotificationReplied([notif.response.string UTF8String]);
|
||||
} else if (notif.activationType == NSUserNotificationActivationTypeActionButtonClicked) {
|
||||
notification->NotificationButtonClicked();
|
||||
} else {
|
||||
} else if (notif.activationType == NSUserNotificationActivationTypeContentsClicked) {
|
||||
notification->NotificationClicked();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user