fix error message

This commit is contained in:
Bob Sun 2017-02-07 16:46:32 +08:00
parent e2a2774664
commit 5fc7c469c3
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4

View file

@ -62,7 +62,7 @@ class GitServerSettingTableViewController: UITableViewController {
if gitRepositoryURLTextField.text == "" {
alertMessage = "Git Server is not set. Please set the Git server first."
} else if authenticationMethod == "" {
alertMessage = "PGP Key is not set. Please set your PGP Key first."
alertMessage = "Authentication method is not set. Please set your authentication method first."
}
let alert = UIAlertController(title: "Cannot Save Settings", message: alertMessage, preferredStyle: UIAlertControllerStyle.alert)
alert.addAction(UIAlertAction(title: "OK", style: UIAlertActionStyle.default, handler: nil))