mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-23 14:52:24 +00:00
Don't need AppDelegate to be a NSMenuDelegate
This commit is contained in:
parent
94263ffcc1
commit
a813e29491
@ -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…
Reference in New Issue
Block a user