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))) }