mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02:00
fix #247, add an extra check about write permissions when saving note content
This commit is contained in:
@ -194,7 +194,7 @@ class TextFragment : NoteFragment() {
|
||||
val currentText = getCurrentNoteViewText()
|
||||
if (currentText != null) {
|
||||
val displaySuccess = activity?.config?.displaySuccess ?: false
|
||||
(activity as? MainActivity)?.exportNoteValueToFile(note.path, currentText, displaySuccess)
|
||||
(activity as? MainActivity)?.tryExportNoteValueToFile(note.path, currentText, displaySuccess)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user