feat: 优化代码

pull/103/head
kunfei 5 years ago
parent b66fd6f6d3
commit e41ee7f876
  1. 4
      app/src/main/java/io/legado/app/help/storage/Backup.kt

@ -17,7 +17,9 @@ import java.util.concurrent.TimeUnit
object Backup { object Backup {
val backupPath = App.INSTANCE.filesDir.absolutePath + File.separator + "backup" val backupPath: String by lazy {
FileUtils.getDirFile(App.INSTANCE.filesDir, "backup").absolutePath
}
val legadoPath by lazy { val legadoPath by lazy {
FileUtils.getSdCardPath() + File.separator + "YueDu3.0" FileUtils.getSdCardPath() + File.separator + "YueDu3.0"

Loading…
Cancel
Save