mirror of
https://github.com/mssun/passforios.git
synced 2025-12-20 09:13:44 +01:00
Update server authentication method in main thread
This commit is contained in:
committed by
Mingshen Sun
parent
4bed5fcf8b
commit
15221ee348
@@ -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
|
||||
}
|
||||
Defaults.gitSSHKeySource = type(of: keyImporter).keySource
|
||||
self.gitAuthenticationMethod = .key
|
||||
self.sshLabel?.isEnabled = true
|
||||
} catch {
|
||||
Utils.alert(title: "Error".localize(), message: error.localizedDescription, controller: self)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user