Update appropriate counts in the sidebar when the timeline’s unread count changes. Fix #829.

This commit is contained in:
Brent Simmons
2019-08-13 21:07:39 -07:00
parent fc0fc2055e
commit 2bbd135c9e
4 changed files with 23 additions and 28 deletions

View File

@@ -455,7 +455,7 @@ extension MainWindowController: NSSearchFieldDelegate {
return
}
lastSentSearchString = searchString
let smartFeed = SmartFeed(delegate: SearchFeedDelegate(searchString: searchString), type: .search)
let smartFeed = SmartFeed(delegate: SearchFeedDelegate(searchString: searchString))
timelineContainerViewController?.setRepresentedObjects([smartFeed], mode: .search)
searchSmartFeed = smartFeed
}