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() } } }