mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-05-30 05:54:22 +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 Network;
|
||||||
@class NodeStatus;
|
@class NodeStatus;
|
||||||
|
|
||||||
@interface AppDelegate : NSObject <NSApplicationDelegate, NSMenuDelegate>
|
@interface AppDelegate : NSObject <NSApplicationDelegate>
|
||||||
|
|
||||||
@property (weak, nonatomic) IBOutlet NSWindow *window;
|
@property (weak, nonatomic) IBOutlet NSWindow *window;
|
||||||
|
|
||||||
|
@ -304,14 +304,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)menuWillOpen:(NSMenu*)menu {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)menuDidClose:(NSMenu*)menu {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)darkModeChanged:(NSNotification*)note {
|
- (void)darkModeChanged:(NSNotification*)note {
|
||||||
NSString *osxMode = [[NSUserDefaults standardUserDefaults] stringForKey:@"AppleInterfaceStyle"];
|
NSString *osxMode = [[NSUserDefaults standardUserDefaults] stringForKey:@"AppleInterfaceStyle"];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user