mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-25 01:01:21 +01:00
Restore back button items. Issue #1337
This commit is contained in:
parent
57e8a98b57
commit
b5525e1a9e
@ -39,9 +39,6 @@ class MasterFeedViewController: UITableViewController, UndoableCommandRunner {
|
||||
navigationController?.navigationBar.prefersLargeTitles = true
|
||||
}
|
||||
|
||||
// Set the bar button item so that it doesn't show on the timeline view
|
||||
navigationItem.backBarButtonItem = UIBarButtonItem(title: "", style: .plain, target: nil, action: nil)
|
||||
|
||||
// If you don't have an empty table header, UIKit tries to help out by putting one in for you
|
||||
// that makes a gap between the first section header and the navigation bar
|
||||
var frame = CGRect.zero
|
||||
|
@ -72,8 +72,7 @@ class MasterTimelineViewController: UITableViewController, UndoableCommandRunner
|
||||
resetUI()
|
||||
applyChanges(animated: false)
|
||||
|
||||
// Set the bar button item so that it doesn't show on the article view
|
||||
navigationItem.backBarButtonItem = UIBarButtonItem(title: "", style: .plain, target: nil, action: nil)
|
||||
title = coordinator.timelineFeed?.nameForDisplay ?? "Timeline"
|
||||
|
||||
// Restore the scroll position if we have one stored
|
||||
if let restoreIndexPath = coordinator.timelineMiddleIndexPath {
|
||||
|
Loading…
Reference in New Issue
Block a user