diff --git a/app/src/main/kotlin/dev/aaa1115910/bv/util/NetworkUtil.kt b/app/src/main/kotlin/dev/aaa1115910/bv/util/NetworkUtil.kt index 5f972940..b51e4a44 100644 --- a/app/src/main/kotlin/dev/aaa1115910/bv/util/NetworkUtil.kt +++ b/app/src/main/kotlin/dev/aaa1115910/bv/util/NetworkUtil.kt @@ -42,8 +42,6 @@ object NetworkUtil { .lines() .filter { it.isNotBlank() } .associate { with(it.split("=")) { this[0] to this[1] } } - - require(networkCheckResult["loc"] != "CN") { "BV doesn't support use in mainland China" } false }.getOrDefault(true) } @@ -57,4 +55,4 @@ object NetworkUtil { deferreds.forEach { it.cancel() } } } -} \ No newline at end of file +}