Verified Commit 8824cec6 authored by Geoff Pado's avatar Geoff Pado

Add button for dismissing settings view controller

parent 87eea151
......@@ -6,6 +6,7 @@ import UIKit
class SettingsViewController: UIViewController {
init() {
super.init(nibName: nil, bundle: nil)
navigationItem.leftBarButtonItem = UIBarButtonItem(barButtonSystemItem: .done, target: nil, action: #selector(AppViewController.dismissSettingsViewController))
}
override func loadView() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment