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:
William Casarin
2024-07-10 09:52:33 -07:00
parent f795fe6088
commit 61bc9d9919
6 changed files with 16 additions and 12 deletions

View File

@@ -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, &note).note_previews(!textmode).show(ui);
let resp = ui::NoteView::new(app, &note)
.note_previews(!textmode)
.show(ui);
if let Some(action) = resp.action {
debug!("bar action: {:?}", action);