Skip to content

Commit cff95c4

Browse files
author
Colin Harris
committed
Remove redundant code and bump build number
1 parent aa3df39 commit cff95c4

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

GoVPN.xcodeproj/project.pbxproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@
512512
CLANG_ENABLE_MODULES = YES;
513513
CODE_SIGN_STYLE = Automatic;
514514
COMBINE_HIDPI_IMAGES = YES;
515-
CURRENT_PROJECT_VERSION = 10;
515+
CURRENT_PROJECT_VERSION = 11;
516516
DEVELOPMENT_TEAM = K465DYH4Z2;
517517
INFOPLIST_FILE = GoVPN/Info.plist;
518518
LD_RUNPATH_SEARCH_PATHS = (
@@ -535,7 +535,7 @@
535535
CLANG_ENABLE_MODULES = YES;
536536
CODE_SIGN_STYLE = Automatic;
537537
COMBINE_HIDPI_IMAGES = YES;
538-
CURRENT_PROJECT_VERSION = 10;
538+
CURRENT_PROJECT_VERSION = 11;
539539
DEVELOPMENT_TEAM = K465DYH4Z2;
540540
INFOPLIST_FILE = GoVPN/Info.plist;
541541
LD_RUNPATH_SEARCH_PATHS = (

GoVPN/AppDelegate.swift

-7
Original file line numberDiff line numberDiff line change
@@ -162,13 +162,6 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSMenuDelegate {
162162
)
163163
menuItem.indentationLevel = 1
164164
menuItem.representedObject = vpn
165-
if let vpnService = VPNServicesManager.shared.service(named: vpn.name),
166-
vpnService.state() == .connected || vpnService.state() == .connecting
167-
{
168-
menuItem.state = .on
169-
} else {
170-
menuItem.state = .off
171-
}
172165
return menuItem
173166
}
174167

0 commit comments

Comments
 (0)