mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-02 03:56:55 +01:00
Empty the timeline when ending the search to make sure diffable datasources don't keep some search cells around. Issue #1736
This commit is contained in:
parent
f96bb9c3e0
commit
6b23cadc41
@ -805,6 +805,7 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
|
||||
|
||||
func endSearching() {
|
||||
if let ip = currentFeedIndexPath, let node = nodeFor(ip), let feed = node.representedObject as? Feed {
|
||||
emptyTheTimeline()
|
||||
timelineFeed = feed
|
||||
masterTimelineViewController?.reinitializeArticles(resetScroll: true)
|
||||
replaceArticles(with: savedSearchArticles!, animated: true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user