mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -29,10 +29,7 @@ val cookieJar by lazy {
|
||||
val cookieBuilder = StringBuilder()
|
||||
cookies.forEach {
|
||||
if (it.value != "") {
|
||||
cookieBuilder.append(it.name)
|
||||
.append("=")
|
||||
.append(it.value)
|
||||
.append(";")
|
||||
cookieBuilder.append(it.name).append("=").append(it.value).append(";")
|
||||
}
|
||||
}
|
||||
cookieBuilder.deleteCharAt(cookieBuilder.lastIndexOf(";"))
|
||||
|
||||
Reference in New Issue
Block a user