优化
This commit is contained in:
@@ -216,4 +216,12 @@ class App : Application() {
|
||||
}
|
||||
}
|
||||
|
||||
companion object {
|
||||
init {
|
||||
if (BuildConfig.DEBUG) {
|
||||
System.setProperty("kotlinx.coroutines.debug", "on")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -206,7 +206,7 @@ object ReadManga : CoroutineScope by MainScope() {
|
||||
mCallback?.loadFail(errorMsg)
|
||||
return
|
||||
}
|
||||
if (content.isEmpty()) {
|
||||
if (content.isEmpty() && !chapter.isVolume) {
|
||||
mCallback?.loadFail("正文内容为空")
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user