Use split view for Settings

This commit is contained in:
Bob Sun 2017-06-22 00:09:12 -07:00
parent d25cc9eb9a
commit 72424c7db2
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
7 changed files with 143 additions and 116 deletions

View file

@ -28,9 +28,6 @@ class SettingsTableViewController: UITableViewController {
@IBOutlet weak var passwordRepositoryTableViewCell: UITableViewCell!
let passwordStore = PasswordStore.shared
var passcodeLockConfig = PasscodeLockConfiguration.shared
@IBAction func cancelPGPKey(segue: UIStoryboardSegue) {
}
@IBAction func savePGPKey(segue: UIStoryboardSegue) {
if let controller = segue.source as? PGPKeySettingTableViewController {
@ -117,9 +114,6 @@ class SettingsTableViewController: UITableViewController {
}
}
@IBAction func cancelGitServerSetting(segue: UIStoryboardSegue) {
}
@IBAction func saveGitServerSetting(segue: UIStoryboardSegue) {
self.passwordRepositoryTableViewCell.detailTextLabel?.text = SharedDefaults[.gitURL]?.host
}