From 80dea3f71adb71b883b1a2e6ad9f9a428dd77eae Mon Sep 17 00:00:00 2001 From: veeso Date: Thu, 9 Jun 2022 15:08:02 +0200 Subject: [PATCH] Fixed SSH key list showing `{hostname} at {username}` instead of `{username} at {hostname}` --- src/ui/activities/setup/view/ssh_keys.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/activities/setup/view/ssh_keys.rs b/src/ui/activities/setup/view/ssh_keys.rs index 7fb8cea..6d64648 100644 --- a/src/ui/activities/setup/view/ssh_keys.rs +++ b/src/ui/activities/setup/view/ssh_keys.rs @@ -126,7 +126,7 @@ impl SetupActivity { .iter_ssh_keys() .map(|x| { let (addr, username, _) = self.config().get_ssh_key(x).ok().unwrap().unwrap(); - format!("{} at {}", addr, username) + format!("{} at {}", username, addr) }) .collect(); assert!(self