From b60e9d6c037e6630deaaaac01f4caa3d04634251 Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 15 Mar 2022 08:34:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/legado/app/ui/widget/dialog/UrlOptionDialog.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/widget/dialog/UrlOptionDialog.kt b/app/src/main/java/io/legado/app/ui/widget/dialog/UrlOptionDialog.kt index 669de10b4..5f058a58f 100644 --- a/app/src/main/java/io/legado/app/ui/widget/dialog/UrlOptionDialog.kt +++ b/app/src/main/java/io/legado/app/ui/widget/dialog/UrlOptionDialog.kt @@ -47,7 +47,7 @@ class UrlOptionDialog(context: Context, private val success: (String) -> Unit) : val urlOption = AnalyzeUrl.UrlOption() urlOption.useWebView(binding.cbUseWebView.isChecked) urlOption.setMethod(binding.editMethod.text.toString()) - urlOption.setCharset(binding.editMethod.text.toString()) + urlOption.setCharset(binding.editCharset.text.toString()) urlOption.setHeaders(binding.editHeaders.text.toString()) urlOption.setBody(binding.editBody.text.toString()) urlOption.setRetry(binding.editRetry.text.toString())