diff --git a/app/src/main/java/io/legado/app/help/http/HttpHelper.kt b/app/src/main/java/io/legado/app/help/http/HttpHelper.kt index f0490af17..1e8fb27e1 100644 --- a/app/src/main/java/io/legado/app/help/http/HttpHelper.kt +++ b/app/src/main/java/io/legado/app/help/http/HttpHelper.kt @@ -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(";"))