Remove the title editor if it cannot be stored

It just makes it confusing for the user otherwise.
This commit is contained in:
Vishesh Handa
2020-02-19 23:00:52 +01:00
parent d5176041be
commit a49876e3ee
3 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ class NoteViewer extends StatelessWidget {
children: <Widget>[
if (note.created != null && showJournalHeader)
JournalEditorHeader(note),
if (showTitle)
if (showTitle && note.canHaveMetadata)
NoteTitleHeader(note.title),
Padding(
padding: const EdgeInsets.only(top: 8.0, bottom: 8.0),