pull/1941/head
kunfei 3 years ago
parent cf4ba745f8
commit 50ac43b1cf
  1. 2
      app/src/main/java/io/legado/app/help/storage/Restore.kt

@ -12,6 +12,7 @@ import io.legado.app.constant.PreferKey
import io.legado.app.data.appDb
import io.legado.app.data.entities.*
import io.legado.app.help.LauncherIconHelp
import io.legado.app.help.config.LocalConfig
import io.legado.app.help.config.ReadBookConfig
import io.legado.app.help.config.ThemeConfig
import io.legado.app.utils.*
@ -55,6 +56,7 @@ object Restore {
}
restoreDatabase()
restoreConfig()
LocalConfig.lastBackup = System.currentTimeMillis()
}
suspend fun restoreDatabase(path: String = Backup.backupPath) {

Loading…
Cancel
Save