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