dave: add chrome toggle button

We were missing this, which meant we could get stuck in
dave
This commit is contained in:
William Casarin
2025-06-05 15:21:08 -07:00
parent b139af475e
commit 6812a0e6ae
2 changed files with 47 additions and 17 deletions

View File

@@ -355,6 +355,9 @@ impl notedeck::App for Dave {
let should_send = self.process_events(ctx);
if let Some(action) = self.ui(ctx, ui).action {
match action {
DaveAction::ToggleChrome => {
app_action = Some(AppAction::ToggleChrome);
}
DaveAction::Note(n) => {
app_action = Some(AppAction::Note(n));
}