diff --git a/app/src/main/java/io/legado/app/ui/config/BackupConfigFragment.kt b/app/src/main/java/io/legado/app/ui/config/BackupConfigFragment.kt index e27f82e11..38f5568fb 100644 --- a/app/src/main/java/io/legado/app/ui/config/BackupConfigFragment.kt +++ b/app/src/main/java/io/legado/app/ui/config/BackupConfigFragment.kt @@ -156,6 +156,7 @@ class BackupConfigFragment : PreferenceFragmentCompat(), .onGranted { launch { Backup.backup(requireContext(), null) + toast(R.string.backup_success) } } .request() @@ -316,6 +317,7 @@ class BackupConfigFragment : PreferenceFragmentCompat(), findPreference(PreferKey.backupPath)?.summary = uri.toString() launch { Backup.backup(requireContext(), uri) + toast(R.string.backup_success) } } }