Cleanup GitServerSettingTableViewController

This commit is contained in:
Mingshen Sun 2019-11-30 17:37:09 -08:00
parent 9b304433fb
commit 902930ddfc
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
5 changed files with 156 additions and 131 deletions

View file

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