Update _Ext.kt

This commit is contained in:
Το μοχθηρό ^_^
2024-02-19 14:29:35 +08:00
committed by GitHub
parent de9bbf842f
commit 3955bb16bc

View File

@@ -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(" ", "")
}
}