diff options
author | rezanejati <dev.njti@gmail.com> | 2019-08-07 09:11:55 +0430 |
---|---|---|
committer | rezanejati <dev.njti@gmail.com> | 2019-08-07 09:11:55 +0430 |
commit | 2f1ebbbf7487a98d35c8173186af9a667be811a3 (patch) | |
tree | d68e9883fe239afb3033e0d83f1d1b9df9e665e6 /app/src/main/java/de | |
parent | c968bfd5cc01d62363cbb2da704f5717cdd313f8 (diff) | |
download | AntennaPod-2f1ebbbf7487a98d35c8173186af9a667be811a3.zip |
Add brackets for condition - add new line in ProxyConfig
Diffstat (limited to 'app/src/main/java/de')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/dialog/ProxyDialog.java | 3 |
1 files changed, 2 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 cff21eaa7..1fac5c193 100644 --- a/app/src/main/java/de/danoeh/antennapod/dialog/ProxyDialog.java +++ b/app/src/main/java/de/danoeh/antennapod/dialog/ProxyDialog.java @@ -114,8 +114,9 @@ public class ProxyDialog { types.add(Proxy.Type.DIRECT.name()); types.add(Proxy.Type.HTTP.name()); - if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) + if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.N){ types.add(Proxy.Type.SOCKS.name()); + } ArrayAdapter<String> adapter = new ArrayAdapter<>(context, android.R.layout.simple_spinner_item, types); |