route back after clicking 'post' button
Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
committed by
William Casarin
parent
5ddeb0e383
commit
7d9a23c87d
@@ -68,6 +68,7 @@ pub fn render_nav(col: usize, app: &mut Damus, ui: &mut egui::Ui) {
|
|||||||
PostAction::execute(kp, &action, &mut app.pool, draft, |np, seckey| {
|
PostAction::execute(kp, &action, &mut app.pool, draft, |np, seckey| {
|
||||||
np.to_note(seckey)
|
np.to_note(seckey)
|
||||||
});
|
});
|
||||||
|
app.columns_mut().column_mut(col).router_mut().go_back();
|
||||||
}
|
}
|
||||||
|
|
||||||
None
|
None
|
||||||
|
|||||||
Reference in New Issue
Block a user