From 2ae8cea905209332cdfaeec9c1deb1fc23af272f Mon Sep 17 00:00:00 2001 From: kunfei Date: Wed, 11 Mar 2020 13:55:52 +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/ui/config/BackupRestoreUi.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/config/BackupRestoreUi.kt b/app/src/main/java/io/legado/app/ui/config/BackupRestoreUi.kt index 913f78971..409638a4c 100644 --- a/app/src/main/java/io/legado/app/ui/config/BackupRestoreUi.kt +++ b/app/src/main/java/io/legado/app/ui/config/BackupRestoreUi.kt @@ -66,7 +66,7 @@ object BackupRestoreUi { selectFolderRequestCode -> AppConfig.backupPath = Backup.legadoPath else -> { Coroutine.async { - AppConfig.backupPath = Backup.legadoPath + AppConfig.backupPath = path Backup.backup(fragment.requireContext(), path) }.onSuccess { fragment.toast(R.string.backup_success)