mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-03-12 22:50:07 +01:00
display Success message at synced notes if set so
This commit is contained in:
parent
e2296ec1b4
commit
0f79bc1697
@ -195,7 +195,8 @@ class NoteFragment : androidx.fragment.app.Fragment() {
|
|||||||
} else {
|
} else {
|
||||||
val currentText = getCurrentNoteViewText()
|
val currentText = getCurrentNoteViewText()
|
||||||
if (currentText != null) {
|
if (currentText != null) {
|
||||||
(activity as? MainActivity)?.exportNoteValueToFile(note.path, currentText, false)
|
val displaySuccess = activity?.config?.displaySuccess ?: false
|
||||||
|
(activity as? MainActivity)?.exportNoteValueToFile(note.path, currentText, displaySuccess)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user