Removed Exporting successful toast on auto backup

This commit is contained in:
merkost 2023-07-29 10:31:41 +10:00
parent 838f50efb2
commit 63669734b2
1 changed files with 2 additions and 3 deletions

View File

@ -152,9 +152,8 @@ fun Context.backupNotes() {
showErrorToast(e)
}
when (exportResult) {
ExportResult.EXPORT_OK -> toast(R.string.exporting_successful)
else -> toast(R.string.exporting_failed)
if (exportResult == ExportResult.EXPORT_FAIL) {
toast(R.string.exporting_failed)
}
config.lastAutoBackupTime = DateTime.now().millis