diff --git a/src/app.rs b/src/app.rs index 5b7ec40..687ccc2 100644 --- a/src/app.rs +++ b/src/app.rs @@ -756,7 +756,7 @@ fn render_note(ui: &mut egui::Ui, damus: &mut Damus, note_key: NoteKey) -> Resul render_note_contents(ui, damus, &txn, ¬e, note_key); - //render_note_actionbar(ui, damus); + render_note_actionbar(ui); }) }); }); @@ -764,6 +764,14 @@ fn render_note(ui: &mut egui::Ui, damus: &mut Damus, note_key: NoteKey) -> Resul Ok(()) } +fn render_note_actionbar(ui: &mut egui::Ui) { + ui.horizontal(|ui| { + if ui.button("reply").clicked() {} + + if ui.button("like").clicked() {} + }); +} + fn render_notes(ui: &mut egui::Ui, damus: &mut Damus, timeline: usize) { #[cfg(feature = "profiling")] puffin::profile_function!();