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

View File

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