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)