Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
iHongRen committed Nov 1, 2018
1 parent c1c7ea7 commit 6449cd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PPTPVPN/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ - (void)setupVPNItem {
self.vpnItem = [[NSStatusBar systemStatusBar] statusItemWithLength:NSVariableStatusItemLength];
self.vpnItem.image = [NSImage imageNamed:@"vpn_disconnect"];
self.vpnItem.menu = self.vpnMenu;


[[VPNManager shared] connectChanged:^(VPNStatus status) {
switch (status) {
Expand All @@ -64,7 +64,7 @@ - (void)setupVPNItem {
self.wait.hidden = NO;
break;
case VPNStatusConnected:
self.vpnItem.image = [NSImage imageNamed:@"vpn_disconnect"];
self.vpnItem.image = [NSImage imageNamed:@"vpn_connect"];
self.connectSwitch.checked = YES;
self.connectSwitch.hidden = NO;
self.wait.hidden = YES;
Expand Down

0 comments on commit 6449cd6

Please sign in to comment.