context: move note context button to its own file
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -111,8 +111,8 @@ pub fn render_note_preview(
|
||||
.options_button(true)
|
||||
.show(ui);
|
||||
|
||||
if let Some(selection) = resp.option_selection {
|
||||
selection.process(ui, ¬e);
|
||||
if let Some(context) = resp.context_selection {
|
||||
context.process(ui, ¬e);
|
||||
}
|
||||
})
|
||||
.response
|
||||
|
||||
Reference in New Issue
Block a user