mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user