Fix some UI issues introduced by refactoring

This commit is contained in:
Mingshen Sun 2019-12-01 00:25:24 -08:00
parent efdc45ea89
commit cea1332b0d
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
6 changed files with 9 additions and 5 deletions

View file

@ -66,6 +66,7 @@ class GitSSHKeyArmorSettingTableViewController: AutoCellHeightUITableViewControl
Utils.alert(title: "CannotSave".localize(), message: "CannotSaveSshKey".localize(), controller: self, completion: nil)
}
SharedDefaults[.gitSSHKeySource] = .armor
SharedDefaults[.gitAuthenticationMethod] = .key
self.navigationController!.popViewController(animated: true)
}