pull/814/head
gedoor 4 years ago
parent 1e2addccdf
commit 058501053d
  1. 8
      app/src/main/java/io/legado/app/help/DefaultData.kt

@ -56,16 +56,12 @@ object DefaultData {
fun importDefaultHttpTTS() {
App.db.httpTTSDao.deleteDefault()
httpTTS.let {
App.db.httpTTSDao.insert(*it.toTypedArray())
}
App.db.httpTTSDao.insert(*httpTTS.toTypedArray())
}
fun importDefaultTocRules() {
App.db.txtTocRule.deleteDefault()
txtTocRules.let {
App.db.txtTocRule.insert(*it.toTypedArray())
}
App.db.txtTocRule.insert(*txtTocRules.toTypedArray())
}
fun importDefaultRssSources() {

Loading…
Cancel
Save