mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-30 03:19:11 +08:00
For generated titles - prefer the provided title
This commit is contained in:
@ -61,7 +61,10 @@ class StandardView extends StatelessWidget {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case StandardViewHeader.TitleGenerated:
|
case StandardViewHeader.TitleGenerated:
|
||||||
|
title = note.title;
|
||||||
|
if (title == null || title.isEmpty) {
|
||||||
title = note.summary;
|
title = note.summary;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Reference in New Issue
Block a user