add checks to avoid invalid inputs
This commit is contained in:
parent
0b714ffec2
commit
3145ddacbe
4 changed files with 18 additions and 3 deletions
|
|
@ -18,7 +18,7 @@ class GitRepositoryAuthenticationSettingTableViewController: UITableViewControll
|
|||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
navigationItem.title = "Auth Method"
|
||||
switch selectedMethod! {
|
||||
switch selectedMethod ?? "" {
|
||||
case "Password":
|
||||
passwordCell.accessoryType = UITableViewCellAccessoryType.checkmark
|
||||
case "SSH Key":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue