mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-09-19 21:31:33 +08:00
Note: Rename 'createdAt' to 'created'
My notes already use the key 'created', and I don't want to have to change that.
This commit is contained in:
@ -80,7 +80,7 @@ class NoteEditorState extends State<NoteEditor> {
|
||||
onPressed: () {
|
||||
var noteContent = noteTextKey.currentState.value;
|
||||
var note = new Note(
|
||||
createdAt: _createdAt,
|
||||
created: _createdAt,
|
||||
body: noteContent,
|
||||
);
|
||||
container.addNote(note);
|
||||
|
Reference in New Issue
Block a user