actionbar placeholder
This commit is contained in:
10
src/app.rs
10
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_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(())
|
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) {
|
fn render_notes(ui: &mut egui::Ui, damus: &mut Damus, timeline: usize) {
|
||||||
#[cfg(feature = "profiling")]
|
#[cfg(feature = "profiling")]
|
||||||
puffin::profile_function!();
|
puffin::profile_function!();
|
||||||
|
|||||||
Reference in New Issue
Block a user