Add navigation and toolbar theming for light mode. Issue #698

This commit is contained in:
Maurice Parker
2019-08-23 12:27:45 -05:00
parent 5a5a66d59f
commit 7f024586bb
9 changed files with 142 additions and 10 deletions

View File

@@ -29,7 +29,10 @@ class MasterFeedViewController: UITableViewController, UndoableCommandRunner {
super.viewDidLoad()
navigationController?.navigationBar.prefersLargeTitles = true
if traitCollection.userInterfaceIdiom == .phone {
navigationController?.navigationBar.prefersLargeTitles = true
}
navigationItem.rightBarButtonItem = editButtonItem
tableView.register(MasterFeedTableViewSectionHeader.self, forHeaderFooterViewReuseIdentifier: "SectionHeader")