pull/32/head
kunfei 5 years ago
parent d70b0d0de6
commit 9fa16062df
  1. 3
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt

@ -472,6 +472,7 @@ class AnalyzeRule(private var book: BaseBook? = null) {
fun makeUpRule(result: Any?) { fun makeUpRule(result: Any?) {
val infoVal = StringBuilder() val infoVal = StringBuilder()
if (ruleParam.isNotEmpty()) {
var j = ruleParam.size var j = ruleParam.size
while (j-- > 0) { while (j-- > 0) {
val regType = ruleType[j] val regType = ruleType[j]
@ -496,7 +497,7 @@ class AnalyzeRule(private var book: BaseBook? = null) {
} }
rule = infoVal.toString() rule = infoVal.toString()
} }
}
} }
enum class Mode { enum class Mode {

Loading…
Cancel
Save