From 189995e6c7a5c23059d132642d846ea42ac55cc9 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Tue, 19 Nov 2019 18:03:19 -0600 Subject: [PATCH] Remove title from article back button. Issue #1318 --- iOS/MasterTimeline/MasterTimelineViewController.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iOS/MasterTimeline/MasterTimelineViewController.swift b/iOS/MasterTimeline/MasterTimelineViewController.swift index 1fa5db42e..379fe1fd6 100644 --- a/iOS/MasterTimeline/MasterTimelineViewController.swift +++ b/iOS/MasterTimeline/MasterTimelineViewController.swift @@ -71,6 +71,9 @@ 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() + // Restore the scroll position if we have one stored if let restoreIndexPath = coordinator.timelineMiddleIndexPath { tableView.scrollToRow(at: restoreIndexPath, at: .middle, animated: false)