Yes/No dialogs are now answerable by pressing Y or N on your keyboard

This commit is contained in:
veeso
2022-08-30 15:29:34 +02:00
parent 96df152220
commit 6a5c248d35
7 changed files with 103 additions and 5 deletions
+1 -2
View File
@@ -20,8 +20,6 @@ impl SetupActivity {
self.new_app(ViewLayout::SshKeys);
// Load keys
self.reload_ssh_keys();
// Give focus
assert!(self.app.active(&Id::Ssh(IdSsh::SshKeys)).is_ok());
}
pub(crate) fn view_ssh_keys(&mut self) {
@@ -137,5 +135,6 @@ impl SetupActivity {
vec![]
)
.is_ok());
assert!(self.app.active(&Id::Ssh(IdSsh::SshKeys)).is_ok());
}
}