fix menu and help bindings
Some checks are pending
/ build (push) Waiting to run

This commit is contained in:
🪞👃🪞 2025-05-11 04:02:55 +03:00
parent 85a144798b
commit cdeb355972
2 changed files with 4 additions and 4 deletions

View file

@ -203,11 +203,11 @@ handle!(TuiIn: |self: App, input|Ok(if let Some(command) = self.config.keys.comm
}
#[tengri_proc::command(App)] impl AppCommand {
fn toggle_help (app: &mut App, value: bool) -> Perhaps<Self> {
fn toggle_help (app: &mut App) -> Perhaps<Self> {
app.toggle_dialog(Some(Dialog::Help));
Ok(None)
}
fn toggle_menu (app: &mut App, value: bool) -> Perhaps<Self> {
fn toggle_menu (app: &mut App) -> Perhaps<Self> {
app.toggle_dialog(Some(Dialog::Menu));
Ok(None)
}