kunfei пре 4 година
родитељ
комит
51991eda4e

+ 1 - 0
app/src/main/assets/updateLog.md

@@ -13,6 +13,7 @@
 
 
 **2022/09/19**
 **2022/09/19**
 
 
+* 发现为空时不校验
 * 订阅添加刷新分类功能,菜单中
 * 订阅添加刷新分类功能,菜单中
 * 修复webView因为不支持新夜间模式导致的崩溃
 * 修复webView因为不支持新夜间模式导致的崩溃
 * 修复阅读背景分主题设置bug by 821938089
 * 修复阅读背景分主题设置bug by 821938089

+ 2 - 1
app/src/main/java/io/legado/app/service/CheckSourceService.kt

@@ -72,6 +72,7 @@ class CheckSourceService : BaseService() {
             IntentAction.start -> intent.getStringArrayListExtra("selectIds")?.let {
             IntentAction.start -> intent.getStringArrayListExtra("selectIds")?.let {
                 check(it)
                 check(it)
             }
             }
+
             IntentAction.resume -> upNotification()
             IntentAction.resume -> upNotification()
             else -> stopSelf()
             else -> stopSelf()
         }
         }
@@ -154,7 +155,7 @@ class CheckSourceService : BaseService() {
                 }
                 }
             }
             }
             //校验发现书籍
             //校验发现书籍
-            if (CheckSource.checkDiscovery) {
+            if (CheckSource.checkDiscovery && !source.exploreUrl.isNullOrBlank()) {
                 val exs = source.exploreKinds()
                 val exs = source.exploreKinds()
                 var url: String? = null
                 var url: String? = null
                 for (ex in exs) {
                 for (ex in exs) {