fix switch to global mode menu item not updated
This commit is contained in:
parent
c75698a0e5
commit
9e861e684c
@ -467,6 +467,7 @@ extension AppDelegate {
|
|||||||
ApiRequest.updateOutBoundMode(mode: mode) { success in
|
ApiRequest.updateOutBoundMode(mode: mode) { success in
|
||||||
ConfigManager.shared.currentConfig = config
|
ConfigManager.shared.currentConfig = config
|
||||||
ConfigManager.selectOutBoundMode = mode
|
ConfigManager.selectOutBoundMode = mode
|
||||||
|
MenuItemFactory.recreateProxyMenuItems()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user