mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-03 12:27:32 +01:00
Remove title from timeline back button. Issue #1319
This commit is contained in:
parent
189995e6c7
commit
985cef6b49
@ -40,6 +40,9 @@ class MasterFeedViewController: UITableViewController, UndoableCommandRunner {
|
|||||||
|
|
||||||
navigationItem.rightBarButtonItem = editButtonItem
|
navigationItem.rightBarButtonItem = editButtonItem
|
||||||
|
|
||||||
|
// 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
|
// 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
|
// that makes a gap between the first section header and the navigation bar
|
||||||
var frame = CGRect.zero
|
var frame = CGRect.zero
|
||||||
|
@ -72,7 +72,7 @@ class MasterTimelineViewController: UITableViewController, UndoableCommandRunner
|
|||||||
applyChanges(animated: false)
|
applyChanges(animated: false)
|
||||||
|
|
||||||
// Set the bar button item so that it doesn't show on the article view
|
// Set the bar button item so that it doesn't show on the article view
|
||||||
navigationItem.backBarButtonItem = UIBarButtonItem()
|
navigationItem.backBarButtonItem = UIBarButtonItem(title: "", style: .plain, target: nil, action: nil)
|
||||||
|
|
||||||
// Restore the scroll position if we have one stored
|
// Restore the scroll position if we have one stored
|
||||||
if let restoreIndexPath = coordinator.timelineMiddleIndexPath {
|
if let restoreIndexPath = coordinator.timelineMiddleIndexPath {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user