Update server authentication method in main thread
This commit is contained in:
parent
4bed5fcf8b
commit
15221ee348
1 changed files with 3 additions and 3 deletions
|
|
@ -227,10 +227,10 @@ class GitRepositorySettingsTableViewController: UITableViewController {
|
|||
DispatchQueue.main.async {
|
||||
SVProgressHUD.showSuccess(withStatus: "Imported".localize())
|
||||
SVProgressHUD.dismiss(withDelay: 1)
|
||||
}
|
||||
Defaults.gitSSHKeySource = type(of: keyImporter).keySource
|
||||
self.gitAuthenticationMethod = .key
|
||||
self.sshLabel?.isEnabled = true
|
||||
}
|
||||
} catch {
|
||||
Utils.alert(title: "Error".localize(), message: error.localizedDescription, controller: self)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue