From e41ee7f876adfecebcef59704ba20a1ae72338a6 Mon Sep 17 00:00:00 2001 From: kunfei Date: Mon, 17 Feb 2020 21:53:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/help/storage/Backup.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"