Chore: show dashboard menu item

This commit is contained in:
yicheng 2018-12-21 10:18:49 +08:00
parent 04aaef037d
commit 1cf845b799

View File

@ -71,9 +71,6 @@ class AppDelegate: NSObject, NSApplicationDelegate {
// check config vaild via api
ConfigFileManager.checkFinalRuleAndShowAlert()
// hide dev functions
setupDashboard()
// install proxy helper
_ = ProxyConfigHelperManager.install()
@ -172,12 +169,8 @@ class AppDelegate: NSObject, NSApplicationDelegate {
}
func setupDashboard() {
if (!ClashWebViewContoller.enableDashBoard()) {
statusMenu.removeItem(dashboardMenuItem)
}
}
func updateProxyList() {
func updateProxyList(withMenus menus:[NSMenuItem]) {