Add note to make this scroll like the desktop version.
This commit is contained in:
parent
e81defb934
commit
4479d724ae
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue