From 3955bb16bc024b29f018314ea6e8d435cbf6bfea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=A4=CE=BF=20=CE=BC=CE=BF=CF=87=CE=B8=CE=B7=CF=81=CF=8C?= =?UTF-8?q?=20=5E=5F=5E?= <69906215+Malus-risus@users.noreply.github.com> Date: Mon, 19 Feb 2024 14:29:35 +0800 Subject: [PATCH] Update _Ext.kt --- V2rayNG/app/src/main/kotlin/com/v2ray/ang/extension/_Ext.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/V2rayNG/app/src/main/kotlin/com/v2ray/ang/extension/_Ext.kt b/V2rayNG/app/src/main/kotlin/com/v2ray/ang/extension/_Ext.kt index 91e3e9d8..2c2159aa 100644 --- a/V2rayNG/app/src/main/kotlin/com/v2ray/ang/extension/_Ext.kt +++ b/V2rayNG/app/src/main/kotlin/com/v2ray/ang/extension/_Ext.kt @@ -77,8 +77,8 @@ val URLConnection.responseLength: Long get() = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) contentLengthLong else contentLength.toLong() val URI.idnHost: String - get() = (host!!).replace("[", "").replace("]", "") + get() = host!!.replace("[", "").replace("]", "") fun String.removeWhiteSpace(): String { return this.replace(" ", "") -} \ No newline at end of file +}