mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-09-15 07:53:13 +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:
@ -85,11 +85,11 @@ class NoteViewer extends StatelessWidget {
|
||||
}
|
||||
|
||||
Widget _buildHeader(BuildContext context) {
|
||||
var dateStr = DateFormat('MMM dd, yyyy').format(note.createdAt);
|
||||
var timeStr = DateFormat('EEEE H:m').format(note.createdAt);
|
||||
var dateStr = DateFormat('MMM dd, yyyy').format(note.created);
|
||||
var timeStr = DateFormat('EEEE H:m').format(note.created);
|
||||
|
||||
var bigNum = new Text(
|
||||
note.createdAt.day.toString(),
|
||||
note.created.day.toString(),
|
||||
style: TextStyle(fontSize: 40.0),
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user