From d3059151072c7cc13d71e21ff925e67e1c7d9205 Mon Sep 17 00:00:00 2001 From: Mygod Date: Mon, 31 May 2021 21:39:46 +0800 Subject: [PATCH] Fix typo --- core/src/main/java/com/github/shadowsocks/bg/ProxyInstance.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/github/shadowsocks/bg/ProxyInstance.kt b/core/src/main/java/com/github/shadowsocks/bg/ProxyInstance.kt index 402f3c25e0..b04bc0ba41 100644 --- a/core/src/main/java/com/github/shadowsocks/bg/ProxyInstance.kt +++ b/core/src/main/java/com/github/shadowsocks/bg/ProxyInstance.kt @@ -41,7 +41,7 @@ import java.net.URISyntaxException */ class ProxyInstance(val profile: Profile, private val route: String = profile.route) { init { - require(profile.host.isNotEmpty() && (profile.method == "none" || profile.password.isEmpty())) { + require(profile.host.isNotEmpty() && (profile.method == "none" || profile.password.isNotEmpty())) { app.getString(R.string.proxy_empty) } // check the crypto