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 aa25f23 commit 53340c9Copy full SHA for 53340c9
app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/MainActivity.kt
@@ -479,14 +479,13 @@ class MainActivity : SimpleActivity() {
479
480
RadioGroupDialog(this, items) {
481
val syncFile = it as Int == EXPORT_FILE_SYNC
482
- val storedValue = mCurrentNote.getNoteStoredValue() ?: ""
483
tryExportNoteValueToFile(exportPath, textToExport, true) {
484
if (syncFile) {
485
mCurrentNote.path = exportPath
486
mCurrentNote.value = ""
487
} else {
488
mCurrentNote.path = ""
489
- mCurrentNote.value = storedValue
+ mCurrentNote.value = textToExport
490
}
491
492
NotesHelper(this).insertOrUpdateNote(mCurrentNote)
0 commit comments