mirror of
https://github.com/qinyuhang/ShadowsocksX-NG-R.git
synced 2026-11-01 23:40:06 +00:00
Merge branch 'pr/159' into develop
# Conflicts: # ShadowsocksX-NG/Base.lproj/MainMenu.xib
This commit is contained in:
@@ -51,7 +51,7 @@ class ServerProfileManager: NSObject {
|
||||
|
||||
if activeProfileId != nil {
|
||||
defaults.set(activeProfileId, forKey: "ActiveServerProfileId")
|
||||
writeSSLocalConfFile((getActiveProfile()?.toJsonConfig())!)
|
||||
_ = writeSSLocalConfFile((getActiveProfile()?.toJsonConfig())!)
|
||||
} else {
|
||||
defaults.removeObject(forKey: "ActiveServerProfileId")
|
||||
removeSSLocalConfFile()
|
||||
|
||||
Reference in New Issue
Block a user