fix switch to global mode menu item not updated

This commit is contained in:
yicheng 2020-04-29 19:54:35 +08:00
parent c75698a0e5
commit 9e861e684c

View File

@ -467,6 +467,7 @@ extension AppDelegate {
ApiRequest.updateOutBoundMode(mode: mode) { success in
ConfigManager.shared.currentConfig = config
ConfigManager.selectOutBoundMode = mode
MenuItemFactory.recreateProxyMenuItems()
}
}