Force the scroll even if the currently selected row is the same
This commit is contained in:
parent
6708017b5d
commit
e3361abc77
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue