diff --git a/iOS/MasterTimeline/MasterTimelineViewController.swift b/iOS/MasterTimeline/MasterTimelineViewController.swift index 6c1990462..d6f290ee5 100644 --- a/iOS/MasterTimeline/MasterTimelineViewController.swift +++ b/iOS/MasterTimeline/MasterTimelineViewController.swift @@ -270,7 +270,7 @@ class MasterTimelineViewController: UITableViewController, UndoableCommandRunner } override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { - coordinator.selectArticle(indexPath) + coordinator.selectArticle(indexPath, automated: false) } // MARK: Notifications diff --git a/iOS/SceneCoordinator.swift b/iOS/SceneCoordinator.swift index ea3e5587d..1f7dccaad 100644 --- a/iOS/SceneCoordinator.swift +++ b/iOS/SceneCoordinator.swift @@ -501,7 +501,7 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider { selectArticle(nil) } - func selectArticle(_ indexPath: IndexPath?) { + func selectArticle(_ indexPath: IndexPath?, automated: Bool = true) { currentArticleIndexPath = indexPath activityManager.reading(currentArticle) @@ -531,7 +531,10 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider { rootSplitViewController.preferredDisplayMode = .automatic } - masterTimelineViewController?.updateArticleSelection(animate: true) + if automated { + masterTimelineViewController?.updateArticleSelection(animate: true) + } + detailViewController?.updateArticleSelection() }