Add note to make this scroll like the desktop version.

This commit is contained in:
Maurice Parker
2019-04-21 17:55:28 -05:00
parent e81defb934
commit 4479d724ae

View File

@@ -274,7 +274,10 @@ class MasterTimelineViewController: UITableViewController, UndoableCommandRunner
if !article.status.read {
markArticles(Set([article]), statusKey: .read, flag: true)
}
tableView.selectRow(at: indexPath, animated: true, scrollPosition: .none)
// TODO: make this scroll like the desktop version
if tableView.indexPathForSelectedRow != indexPath {
tableView.selectRow(at: indexPath, animated: true, scrollPosition: .middle)
}
}
}