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