From e3361abc771cf57dbbf3c4c0a4a311e62070171c Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Tue, 10 Sep 2019 07:48:40 -0500 Subject: [PATCH] Force the scroll even if the currently selected row is the same --- iOS/MasterFeed/MasterFeedViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iOS/MasterFeed/MasterFeedViewController.swift b/iOS/MasterFeed/MasterFeedViewController.swift index 377ba873d..fdbb03302 100644 --- a/iOS/MasterFeed/MasterFeedViewController.swift +++ b/iOS/MasterFeed/MasterFeedViewController.swift @@ -670,7 +670,7 @@ private extension MasterFeedViewController { } func restoreSelectionIfNecessary() { - if let indexPath = coordinator.masterFeedIndexPathForCurrentTimeline(), indexPath != tableView.indexPathForSelectedRow { + if let indexPath = coordinator.masterFeedIndexPathForCurrentTimeline() { tableView.selectRowAndScrollIfNotVisible(at: indexPath, animated: false, deselect: coordinator.isRootSplitCollapsed) } }