diff --git a/ShadowsocksX-NG/AppDelegate.swift b/ShadowsocksX-NG/AppDelegate.swift
index 14f0ade..60b0e7c 100644
--- a/ShadowsocksX-NG/AppDelegate.swift
+++ b/ShadowsocksX-NG/AppDelegate.swift
@@ -508,7 +508,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele
serverMenuText = p.serverHost
}
if let latency = p.latency{
- serverMenuText += " - \(latency)ms"
+ serverMenuText += " - \(latency) ms"
}
}
}
@@ -615,6 +615,9 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele
let item = NSMenuItem()
item.tag = i //+ kProfileMenuItemIndexBase
item.title = p.title()
+ if let latency = p.latency{
+ item.title += " - \(latency) ms"
+ }
if mgr.activeProfileId == p.uuid {
item.state = 1
}
diff --git a/ShadowsocksX-NG/Info.plist b/ShadowsocksX-NG/Info.plist
index 207a57d..50098f2 100644
--- a/ShadowsocksX-NG/Info.plist
+++ b/ShadowsocksX-NG/Info.plist
@@ -48,7 +48,7 @@
CFBundleVersion
- 2
+ 3
LSApplicationCategoryType
public.app-category.utilities
LSMinimumSystemVersion