diff options
author | ByteHamster <ByteHamster@users.noreply.github.com> | 2022-04-25 22:16:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-25 22:16:26 +0200 |
commit | 26faaf52c6fdc788397c31419ef5a97ba829f09e (patch) | |
tree | 404689a430c810365673c2cdac7e112dc6050d0b /app | |
parent | 20363ee41c814b14b16999505fa850a0943346dd (diff) | |
parent | d339729baf8aae30e40d65e520f0886f2637d84e (diff) | |
download | AntennaPod-26faaf52c6fdc788397c31419ef5a97ba829f09e.zip |
Merge pull request #5854 from ByteHamster/decouple-httpclient
Decouple HttpClient
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/dialog/ProxyDialog.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/dialog/ProxyDialog.java b/app/src/main/java/de/danoeh/antennapod/dialog/ProxyDialog.java index 2c3c44b1d..52e0fa787 100644 --- a/app/src/main/java/de/danoeh/antennapod/dialog/ProxyDialog.java +++ b/app/src/main/java/de/danoeh/antennapod/dialog/ProxyDialog.java @@ -165,7 +165,9 @@ public class ProxyDialog { if (!TextUtils.isEmpty(port)) { portValue = Integer.parseInt(port); } - UserPreferences.setProxyConfig(new ProxyConfig(typeEnum, host, portValue, username, password)); + ProxyConfig config = new ProxyConfig(typeEnum, host, portValue, username, password); + UserPreferences.setProxyConfig(config); + AntennapodHttpClient.setProxyConfig(config); } private final TextWatcher requireTestOnChange = new TextWatcher() { |