mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Made sure the section unread count gets cleared if this isn't an Account.
This commit is contained in:
@@ -187,6 +187,8 @@ class MasterViewController: UITableViewController, UndoableCommandRunner {
|
||||
|
||||
if let account = treeController.rootNode.childAtIndex(section)?.representedObject as? Account {
|
||||
headerView.unreadCount = account.unreadCount
|
||||
} else {
|
||||
headerView.unreadCount = 0
|
||||
}
|
||||
|
||||
return headerView
|
||||
|
||||
Reference in New Issue
Block a user