allow DNS field for mac UI

This commit is contained in:
Grant Limberg 2020-09-18 09:30:43 -07:00
parent 04f6140da6
commit e7dafb3ae6
No known key found for this signature in database
GPG key ID: 2BA62CCABBB4095A
12 changed files with 195 additions and 132 deletions

View file

@ -54,6 +54,7 @@ NSString * const JoinedNetworksKey = @"com.zerotier.one.joined-networks";
self.allowManagedCheckBox.state = NSOnState;
self.allowGlobalCheckBox.state = NSOffState;
self.allowDefaultCheckBox.state = NSOffState;
self.allowDNSCheckBox.state = NSOffState;
self.network.stringValue = @"";
@ -82,6 +83,7 @@ NSString * const JoinedNetworksKey = @"com.zerotier.one.joined-networks";
allowManaged:(self.allowManagedCheckBox.state == NSOnState)
allowGlobal:(self.allowGlobalCheckBox.state == NSOnState)
allowDefault:(self.allowDefaultCheckBox.state == NSOnState)
allowDNS:(self.allowDNSCheckBox.state == NSOnState)
error:&error];
if(error) {