For generated titles - prefer the provided title

This commit is contained in:
Vishesh Handa
2020-03-19 15:40:09 +01:00
parent 2c361172c6
commit cdd5d7aca0

View File

@ -61,7 +61,10 @@ class StandardView extends StatelessWidget {
break;
case StandardViewHeader.TitleGenerated:
title = note.summary;
title = note.title;
if (title == null || title.isEmpty) {
title = note.summary;
}
break;
default: