Update OldRule.kt

pull/50/head
Celeter 5 years ago committed by GitHub
parent 76f8b020c4
commit 06d3421716
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/src/main/java/io/legado/app/help/storage/OldRule.kt

@ -121,7 +121,7 @@ object OldRule {
var list = newRule.split("##") var list = newRule.split("##")
if (list[0].contains("|")) { if (list[0].contains("|")) {
newRule = list[0].replace("|", "||") newRule = list[0].replace("|", "||")
for (i in 1 until list.size - 1) { for (i in 1 until list.size) {
newRule += "##" + list[i] newRule += "##" + list[i]
} }
} }

Loading…
Cancel
Save