mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 18:03:14 +08:00
NoteHeader: Only show if note has a valid date
This commit is contained in:
@ -125,7 +125,7 @@ class NoteViewer extends StatelessWidget {
|
||||
var view = SingleChildScrollView(
|
||||
child: Column(
|
||||
children: <Widget>[
|
||||
NoteHeader(note),
|
||||
note.hasValidDate() ? NoteHeader(note) : Container(),
|
||||
Text(note.body, style: _biggerFont),
|
||||
SizedBox(height: 64.0),
|
||||
// _buildFooter(context),
|
||||
|
Reference in New Issue
Block a user