commit 7d9a23c87dfaa04622774031f8dd4015f640e673
parent 5ddeb0e3836a617c4e4fb9f6d62642260f731b4f
Author: kernelkind <kernelkind@gmail.com>
Date: Thu, 26 Sep 2024 15:20:01 -0400
route back after clicking 'post' button
Signed-off-by: kernelkind <kernelkind@gmail.com>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/nav.rs b/src/nav.rs
@@ -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| {
np.to_note(seckey)
});
+ app.columns_mut().column_mut(col).router_mut().go_back();
}
None