Update UI after successful SSH key import

This commit is contained in:
Danny Moesch 2019-07-03 22:43:32 +02:00 committed by Mingshen Sun
parent f1337622dc
commit 53c003b17a

View file

@ -245,6 +245,7 @@ class GitServerSettingTableViewController: UITableViewController {
SharedDefaults[.gitSSHKeySource] = "file"
SVProgressHUD.showSuccess(withStatus: "Imported".localize())
SVProgressHUD.dismiss(withDelay: 1)
self.sshLabel?.isEnabled = true
} catch {
Utils.alert(title: "Error".localize(), message: error.localizedDescription, controller: self, completion: nil)
}