aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/utils/ProxyUtils.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/utils/ProxyUtils.kt b/app/src/main/java/com/zeapo/pwdstore/utils/ProxyUtils.kt
index f6401a1d..4bb3dfcb 100644
--- a/app/src/main/java/com/zeapo/pwdstore/utils/ProxyUtils.kt
+++ b/app/src/main/java/com/zeapo/pwdstore/utils/ProxyUtils.kt
@@ -32,7 +32,7 @@ object ProxyUtils {
val host = GitSettings.proxyHost
val port = GitSettings.proxyPort
return if (host == null || port == -1) {
- mutableListOf()
+ mutableListOf(Proxy.NO_PROXY)
} else {
mutableListOf(Proxy(Proxy.Type.HTTP, InetSocketAddress.createUnresolved(host, port)))
}