add preview flag to NoteAction

Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
kernelkind committed 2025-06-22 16:03:09 -04:00
1 parent b3569e90d6
commit 87b4b5fc70
5 files changed
+30 -9

No files matched your search

+7 -1
View File
@@ -184,7 +184,13 @@ fn show_notes(
}
fn strip_note_action(action: NoteAction) -> Option<NoteAction> {
if matches!(action, NoteAction::Note(_)) {
if matches!(
action,
NoteAction::Note {
note_id: _,
preview: false,
}
) {
return None;
}