Skip to content

Commit cea53f8

Browse files
author
Jeff Verkoeyen
committed
[Catalog] Ensure that the navigation bar is always visible when nodes appear.
Reviewers: #material_components_ios_owners, randallli Reviewed By: #material_components_ios_owners, randallli Projects: #material_components_ios Differential Revision: http://codereview.cc/D121
1 parent 15261df commit cea53f8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

catalog/MDCCatalog/NodeViewController.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ class NodeViewController: UITableViewController {
4242
super.init(coder: aDecoder)
4343
}
4444

45+
override func viewWillAppear(animated: Bool) {
46+
super.viewWillAppear(animated)
47+
48+
self.navigationController?.setNavigationBarHidden(false, animated: animated)
49+
}
50+
4551
// MARK: UITableViewDataSource
4652

4753
override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {

0 commit comments

Comments
 (0)