mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-05 06:17:59 +01:00
Made sure the section unread count gets cleared if this isn't an Account.
This commit is contained in:
parent
929d7714ab
commit
53077baa46
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user