From ee569a38d51af26df6a0af1bc5326388a9a7971c Mon Sep 17 00:00:00 2001 From: gedoor Date: Sun, 4 Oct 2020 22:03:27 +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/model/analyzeRule/AnalyzeUrl.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt index 3ff224e6f..3508a3056 100644 --- a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt +++ b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt @@ -213,9 +213,7 @@ class AnalyzeUrl( body = if (it is String) it else GSON.toJson(it) } option.webView?.let { - if (it.toString().isNotEmpty()) { - useWebView = true - } + useWebView = it.toString().isNotEmpty() } } }