diff --git a/lib/core/note.dart b/lib/core/note.dart index 623a3496..10d0a910 100644 --- a/lib/core/note.dart +++ b/lib/core/note.dart @@ -120,6 +120,8 @@ class Note with ChangeNotifier implements Comparable { } String get summary { + if (_loadState != NoteLoadState.Loaded) return ""; + _summary ??= stripMarkdownFormatting(body); return _summary; }