From 1e55f578d2682ea1ebad17e9035ab7f7fbd7f091 Mon Sep 17 00:00:00 2001
From: "Kali Kaneko (leap communications)" <kali@leap.se>
Date: Fri, 23 Nov 2018 19:28:43 +0100
Subject: [PATCH] [feat] set a bigger icon in darwin

---
 vendor/github.com/getlantern/systray/systray_darwin.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vendor/github.com/getlantern/systray/systray_darwin.m b/vendor/github.com/getlantern/systray/systray_darwin.m
index 3d928685..91cc0dee 100644
--- a/vendor/github.com/getlantern/systray/systray_darwin.m
+++ b/vendor/github.com/getlantern/systray/systray_darwin.m
@@ -195,14 +195,14 @@ void runInMainThread(SEL method, id object) {
 void setIcon(const char* iconBytes, int length) {
   NSData* buffer = [NSData dataWithBytes: iconBytes length:length];
   NSImage *image = [[NSImage alloc] initWithData:buffer];
-  [image setSize:NSMakeSize(16, 16)];
+  [image setSize:NSMakeSize(18, 18)];
   runInMainThread(@selector(setIcon:), (id)image);
 }
 
 void setMenuItemIcon(const char* iconBytes, int length, int menuId) {
   NSData* buffer = [NSData dataWithBytes: iconBytes length:length];
   NSImage *image = [[NSImage alloc] initWithData:buffer];
-  [image setSize:NSMakeSize(16, 16)];
+  [image setSize:NSMakeSize(18, 18)];
 
   NSNumber *mId = [NSNumber numberWithInt:menuId];
   runInMainThread(@selector(setMenuItemIcon:), @[image, (id)mId]);
-- 
GitLab