Refactor.

This commit is contained in:
Qiu Yuzhou
2017-03-18 12:20:51 +08:00
parent c9b3b80008
commit 72985b32ae
4 changed files with 4 additions and 5 deletions

View File

@ -120,7 +120,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele
self.updateCopyHttpProxyExportMenu()
})
notifyCenter.addObserver(forName: NSNotification.Name(rawValue: NOTIFY_SERVER_PROFILES_CHANGED), object: nil, queue: nil
notifyCenter.addObserver(forName: NOTIFY_SERVER_PROFILES_CHANGED, object: nil, queue: nil
, using: {
(note) in
let profileMgr = ServerProfileManager.instance