Fix #228: Trim URL strings before saving

This commit is contained in:
Danny Moesch 2018-11-13 23:54:53 +01:00 committed by Bob Sun
parent b6f94f8814
commit 97368eb8a8
3 changed files with 4 additions and 4 deletions

View file

@ -75,7 +75,7 @@ class GitServerSettingTableViewController: UITableViewController {
private func cloneAndSegueIfSuccess() {
// try to clone
let gitRepostiroyURL = gitURLTextField.text!
let gitRepostiroyURL = gitURLTextField.text!.trimmed
let username = usernameTextField.text!
let auth = authenticationMethod