Fix crashes of importing ssh key
This commit is contained in:
parent
c0582c8dba
commit
b0a97d182c
2 changed files with 84 additions and 82 deletions
|
|
@ -268,7 +268,9 @@ class GitRepositorySettingsTableViewController: UITableViewController, PasswordA
|
|||
self.sshLabel?.isEnabled = true
|
||||
}
|
||||
} catch {
|
||||
Utils.alert(title: "Error".localize(), message: error.localizedDescription, controller: self)
|
||||
DispatchQueue.main.async {
|
||||
Utils.alert(title: "Error".localize(), message: error.localizedDescription, controller: self)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue