Fix compilation and click events on macOS
This commit is contained in:
parent
c741b584a1
commit
9aa6b83f86
2 changed files with 0 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue