mirror of
https://github.com/qinyuhang/ShadowsocksX-NG-R.git
synced 2026-10-23 16:43:40 +00:00
@@ -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
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
</dict>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>2</string>
|
||||
<string>3</string>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
<string>public.app-category.utilities</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
|
||||
Reference in New Issue
Block a user