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…
Reference in New Issue