Skip to content

Commit

Permalink
Cleanup formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ManfredKarrer committed Oct 19, 2016
1 parent 0f4ec79 commit 1c88ff0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public HttpClientProvider(HttpClient httpClient, Preferences preferences, String
httpClient.setBaseUrl(baseUrl);

httpClient.setIgnoreSocks5Proxy(ignoreSocks5Proxy || !preferences.getUseTorForHttpRequests());

if (!ignoreSocks5Proxy) {
preferences.useTorForHttpRequestsProperty().addListener((observable, oldValue, newValue) -> {
httpClient.setIgnoreSocks5Proxy(!newValue);
Expand Down

0 comments on commit 1c88ff0

Please sign in to comment.