mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-27 17:29:50 +08:00
When sharing a note share its metadata as well
Fixes https://github.com/GitJournal/GitJournal/issues/360 I'm not sure if this is ideal as now the metadata such as 'modified' and 'created' will also be shared. On the other hand, the metadata often has valuable information which is otherwise getting lost.
This commit is contained in:
@ -90,7 +90,7 @@ String toCurlCommand(String url, Map<String, String> headers) {
|
||||
}
|
||||
|
||||
Future<void> shareNote(Note note) async {
|
||||
return Share.share(note.body);
|
||||
return Share.share(note.serialize());
|
||||
}
|
||||
|
||||
Future<Note> getTodayJournalEntry(NotesFolderFS rootFolder) async {
|
||||
|
Reference in New Issue
Block a user