pull/51/head
kunfei 5 years ago
parent ae4290badc
commit 7d3f17f1f6
  1. 1
      app/src/main/java/io/legado/app/help/storage/Restore.kt

@ -187,6 +187,7 @@ object Restore {
rule.order = jsonItem.readInt("$.serialNumber") ?: index
replaceRules.add(rule)
}
App.db.replaceRuleDao().insert(*replaceRules.toTypedArray())
replaceRules
}.onSuccess {
context.toast("成功导入替换规则${it?.size}")

Loading…
Cancel
Save