basic add column impl

Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
kernelkind
2024-09-25 21:32:08 -04:00
parent a17b2dcb17
commit 731f206424
6 changed files with 79 additions and 13 deletions

View File

@@ -186,8 +186,11 @@ impl<'a> DesktopSidePanel<'a> {
}
}
SidePanelAction::Columns => {
// TODO
info!("Clicked columns button");
if router.routes().iter().any(|&r| r == Route::AddColumn) {
router.go_back();
} else {
router.route_to(Route::AddColumn);
}
}
SidePanelAction::ComposeNote => {
if router.routes().iter().any(|&r| r == Route::ComposeNote) {