add preview flag to NoteAction
Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user