Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions lib/common/widgets/notes/note_tile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,10 @@ class _NoteTileState extends ConsumerState<NoteTile> {
final layout = ref.watch(preferencesProvider.select((preferences) => preferences.layout));

final showContent =
// Do not show only the title and the preview content is not empty
(!showTitlesOnly && !widget.note.isContentPreviewEmpty) ||
// The note is locked
!lockNote &&
// Do not show only the title and the preview content is not empty
(!showTitlesOnly && !widget.note.isContentPreviewEmpty) ||
// Show only the title and the title is not empty
(showTitlesOnly && widget.note.isTitleEmpty) ||
// In search view, do not show only the title and the preview content is not empty
Expand Down