pull/487/head^2
gedoor 4 years ago
parent 7d10df5e15
commit 3f5ff5d6f9
  1. 1
      app/src/main/java/io/legado/app/ui/welcome/WelcomeActivity.kt

@ -33,6 +33,7 @@ open class WelcomeActivity : BaseActivity(R.layout.activity_welcome) {
private fun init() { private fun init() {
Coroutine.async { Coroutine.async {
App.db.cacheDao().clearDeadline(System.currentTimeMillis())
//清除过期数据 //清除过期数据
if (getPrefBoolean(PreferKey.autoClearExpired, true)) { if (getPrefBoolean(PreferKey.autoClearExpired, true)) {
App.db.searchBookDao() App.db.searchBookDao()

Loading…
Cancel
Save