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(
|
var view = SingleChildScrollView(
|
||||||
child: Column(
|
child: Column(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
NoteHeader(note),
|
note.hasValidDate() ? NoteHeader(note) : Container(),
|
||||||
Text(note.body, style: _biggerFont),
|
Text(note.body, style: _biggerFont),
|
||||||
SizedBox(height: 64.0),
|
SizedBox(height: 64.0),
|
||||||
// _buildFooter(context),
|
// _buildFooter(context),
|
||||||
|
Reference in New Issue
Block a user