refactor: remove processs_note_selection
Moved this to NoteOptionSelection::process Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
use crate::draft::Draft;
|
||||
use crate::note_options::process_note_selection;
|
||||
use crate::{
|
||||
actionbar::BarAction, column::Columns, imgcache::ImageCache, notecache::NoteCache,
|
||||
timeline::TimelineId, ui,
|
||||
@@ -159,7 +158,9 @@ fn timeline_ui(
|
||||
debug!("clicked note");
|
||||
}
|
||||
|
||||
process_note_selection(ui, resp.option_selection, ¬e);
|
||||
if let Some(selection) = resp.option_selection {
|
||||
selection.process(ui, ¬e);
|
||||
}
|
||||
});
|
||||
|
||||
ui::hline(ui);
|
||||
|
||||
Reference in New Issue
Block a user