mirror of
https://github.com/aljazceru/notedeck.git
synced 2026-02-23 09:24:20 +01:00
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:
@@ -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<'_>>,
|
||||
|
||||
Reference in New Issue
Block a user