Ensure the click event is only dispatched on ContentsClicked activation type

This commit is contained in:
Samuel Attard 2017-10-27 16:08:15 +13:00
parent e2d5aaf0f3
commit 85ef4c6d91

View file

@ -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();
}
}