Skip to content

Commit

Permalink
Improve: always sync proxy status
Browse files Browse the repository at this point in the history
  • Loading branch information
yichengchen committed Oct 8, 2018
1 parent 24f1360 commit e8a1cbe
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions ClashX/General/ConfigManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,7 @@ class ConfigManager {
http == (self.currentConfig?.port ?? 0) &&
https == (self.currentConfig?.port ?? 0) &&
socks == (self.currentConfig?.socketPort ?? 0)
if (self.proxyPortAutoSet && !proxySetted) {
self.proxyPortAutoSet = proxySetted
}
self.proxyPortAutoSet = proxySetted
}.disposed(by: disposeBag)
}



}

0 comments on commit e8a1cbe

Please sign in to comment.