mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-09-13 06:33:00 +08:00
Remove the title editor if it cannot be stored
It just makes it confusing for the user otherwise.
This commit is contained in:
@ -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),
|
||||
|
Reference in New Issue
Block a user