From 9356d43787658f5aee9a6f83d4ec05b3e8ad0467 Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Sun, 31 Mar 2019 18:12:47 +0300 Subject: [PATCH] ui: change menu toggle shortcut --- ui/src/components/mail.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/components/mail.rs b/ui/src/components/mail.rs index a58d2aa16..9a058192e 100644 --- a/ui/src/components/mail.rs +++ b/ui/src/components/mail.rs @@ -269,7 +269,7 @@ impl Component for AccountMenu { UIEventType::Resize => { self.dirty = true; } - UIEventType::Input(Key::Char('\t')) => { + UIEventType::Input(Key::Char('`')) => { self.visible = !self.visible; self.dirty = true; } @@ -290,7 +290,7 @@ impl Component for AccountMenu { self.dirty = true; } fn get_shortcuts(&self, _context: &Context) -> ShortcutMap { - [("Toggle account menu visibility", Key::Char('\t'))] + [("Toggle account menu visibility", Key::Char('`'))] .iter() .cloned() .collect()