ui: rename actionbar function

this was surprisingly hard to find for some reason

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2025-11-06 17:07:01 -08:00
parent cb7dadee44
commit ca9e6c5aaf

View File

@@ -467,7 +467,7 @@ impl<'a, 'd> NoteView<'a, 'd> {
})
});
render_note_actionbar(
actionbar_ui(
ui,
counts,
get_zapper(
@@ -571,7 +571,7 @@ impl<'a, 'd> NoteView<'a, 'd> {
note_action = ui
.horizontal_wrapped(|ui| {
render_note_actionbar(
actionbar_ui(
ui,
counts,
get_zapper(
@@ -890,7 +890,7 @@ fn is_root_note(note: &Note) -> bool {
}
#[profiling::function]
fn render_note_actionbar(
fn actionbar_ui(
ui: &mut egui::Ui,
counts: Option<nostrdb::CountsEntry<'_>>,
zapper: Option<Zapper<'_>>,