Skip to content

Commit

Permalink
display Success message at synced notes if set so
Browse files Browse the repository at this point in the history
  • Loading branch information
tibbi committed Nov 8, 2018
1 parent e2296ec commit 0f79bc1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ class NoteFragment : androidx.fragment.app.Fragment() {
} else {
val currentText = getCurrentNoteViewText()
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)
}
}
}
Expand Down

0 comments on commit 0f79bc1

Please sign in to comment.