pull/32/head
kunfei 5 years ago
parent e37b94fcfc
commit 658cbe9995
  1. 2
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt

@ -90,7 +90,7 @@ class AnalyzeUrl(
ruleUrl = if (page <= pages.size) {
ruleUrl.replace(matcher.group(), pages[page - 1].trim { it <= ' ' })
} else {
ruleUrl.replace(matcher.group(), pages[pages.size - 1].trim { it <= ' ' })
ruleUrl.replace(matcher.group(), pages.last().trim { it <= ' ' })
}
}
}

Loading…
Cancel
Save