mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 20:13:44 +02:00
Don't need AppDelegate to be a NSMenuDelegate
This commit is contained in:
parent
94263ffcc1
commit
a813e29491
2 changed files with 1 additions and 9 deletions
|
@ -12,7 +12,7 @@
|
|||
@class Network;
|
||||
@class NodeStatus;
|
||||
|
||||
@interface AppDelegate : NSObject <NSApplicationDelegate, NSMenuDelegate>
|
||||
@interface AppDelegate : NSObject <NSApplicationDelegate>
|
||||
|
||||
@property (weak, nonatomic) IBOutlet NSWindow *window;
|
||||
|
||||
|
|
|
@ -304,14 +304,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
- (void)menuWillOpen:(NSMenu*)menu {
|
||||
|
||||
}
|
||||
|
||||
- (void)menuDidClose:(NSMenu*)menu {
|
||||
|
||||
}
|
||||
|
||||
- (void)darkModeChanged:(NSNotification*)note {
|
||||
NSString *osxMode = [[NSUserDefaults standardUserDefaults] stringForKey:@"AppleInterfaceStyle"];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue