Fix compilation and click events on macOS

This commit is contained in:
Samuel Attard 2017-05-29 21:22:44 +10:00
parent c741b584a1
commit 9aa6b83f86
2 changed files with 0 additions and 2 deletions

View file

@ -17,7 +17,6 @@
#include "atom/common/node_includes.h"
#include "base/strings/utf_string_conversions.h"
#include "base/threading/thread_task_runner_handle.h"
#include "common/string_conversion.h"
#include "native_mate/constructor.h"
#include "native_mate/dictionary.h"
#include "third_party/skia/include/core/SkBitmap.h"

View file

@ -29,7 +29,6 @@
didActivateNotification:(NSUserNotification *)notif {
auto notification = presenter_->GetNotification(notif);
if (notification) {
notification->NotificationClicked();
if (notif.activationType == NSUserNotificationActivationTypeReplied){
notification->NotificationReplied([notif.response.string UTF8String]);
} else {