diff --git a/app/src/main/java/io/legado/app/help/storage/Backup.kt b/app/src/main/java/io/legado/app/help/storage/Backup.kt index 668d32877..c7de266ca 100644 --- a/app/src/main/java/io/legado/app/help/storage/Backup.kt +++ b/app/src/main/java/io/legado/app/help/storage/Backup.kt @@ -17,7 +17,9 @@ import java.util.concurrent.TimeUnit 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 { FileUtils.getSdCardPath() + File.separator + "YueDu3.0"