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

@@ -89,7 +89,7 @@ fn render_note_preview(
ui.visuals().noninteractive().bg_stroke.color,
))
.show(ui, |ui| {
ui::Note::new(app, &note)
ui::NoteView::new(app, &note)
.actionbar(false)
.small_pfp(true)
.note_previews(false)