Update UI after successful SSH key import
This commit is contained in:
parent
f1337622dc
commit
53c003b17a
1 changed files with 1 additions and 0 deletions
|
|
@ -245,6 +245,7 @@ class GitServerSettingTableViewController: UITableViewController {
|
||||||
SharedDefaults[.gitSSHKeySource] = "file"
|
SharedDefaults[.gitSSHKeySource] = "file"
|
||||||
SVProgressHUD.showSuccess(withStatus: "Imported".localize())
|
SVProgressHUD.showSuccess(withStatus: "Imported".localize())
|
||||||
SVProgressHUD.dismiss(withDelay: 1)
|
SVProgressHUD.dismiss(withDelay: 1)
|
||||||
|
self.sshLabel?.isEnabled = true
|
||||||
} catch {
|
} catch {
|
||||||
Utils.alert(title: "Error".localize(), message: error.localizedDescription, controller: self, completion: nil)
|
Utils.alert(title: "Error".localize(), message: error.localizedDescription, controller: self, completion: nil)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue