Use SwiftFormat version 0.48.x
This commit is contained in:
parent
56a5cbe5cb
commit
7cbc14978a
6 changed files with 9 additions and 5 deletions
|
|
@ -130,7 +130,7 @@ class GitRepositorySettingsTableViewController: UITableViewController, PasswordA
|
|||
if let scheme = gitURL.scheme {
|
||||
switch scheme {
|
||||
case "http", "https", "ssh":
|
||||
if gitURL.user == nil && usernameTextField.text == nil {
|
||||
if gitURL.user == nil, usernameTextField.text == nil {
|
||||
Utils.alert(title: "CannotSave".localize(), message: "CannotFindUsername.".localize(), controller: self)
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue