pull/90/head^2
kunfei 5 years ago
parent 3951bf01d1
commit fd814edf08
  1. 2
      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<Preference>(PreferKey.backupPath)?.summary = uri.toString()
launch {
Backup.backup(requireContext(), uri)
toast(R.string.backup_success)
}
}
}

Loading…
Cancel
Save