Correct First Unread button to select the first unread in the timeline and show article in detail view. Issue #695

This commit is contained in:
Maurice Parker
2019-08-03 17:07:43 -05:00
parent 0269683b16
commit e39972bd64
2 changed files with 16 additions and 5 deletions

View File

@@ -107,9 +107,7 @@ class MasterTimelineViewController: UITableViewController, UndoableCommandRunner
}
@IBAction func firstUnread(_ sender: Any) {
if let indexPath = coordinator.firstUnreadArticleIndexPath {
tableView.scrollToRow(at: indexPath, at: .middle, animated: true)
}
coordinator.selectNextUnread()
}
// MARK: - Table view