NoteHeader: Only show if note has a valid date

This commit is contained in:
Vishesh Handa
2019-02-16 19:59:00 +01:00
parent 139f1bc5cd
commit 456b45c2d6

View File

@ -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),