We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 838f50e commit 6366973Copy full SHA for 6366973
app/src/main/kotlin/com/simplemobiletools/notes/pro/extensions/Context.kt
@@ -152,9 +152,8 @@ fun Context.backupNotes() {
152
showErrorToast(e)
153
}
154
155
- when (exportResult) {
156
- ExportResult.EXPORT_OK -> toast(R.string.exporting_successful)
157
- else -> toast(R.string.exporting_failed)
+ if (exportResult == ExportResult.EXPORT_FAIL) {
+ toast(R.string.exporting_failed)
158
159
160
config.lastAutoBackupTime = DateTime.now().millis
0 commit comments