refactor: rename ui::Note to ui::NoteView
Easier to jump to when using tags. Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -347,7 +347,9 @@ pub fn timeline_view(ui: &mut egui::Ui, app: &mut Damus, timeline: usize) {
|
||||
|
||||
ui::padding(8.0, ui, |ui| {
|
||||
let textmode = app.textmode;
|
||||
let resp = ui::Note::new(app, ¬e).note_previews(!textmode).show(ui);
|
||||
let resp = ui::NoteView::new(app, ¬e)
|
||||
.note_previews(!textmode)
|
||||
.show(ui);
|
||||
|
||||
if let Some(action) = resp.action {
|
||||
debug!("bar action: {:?}", action);
|
||||
|
||||
Reference in New Issue
Block a user