mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-19 21:13:22 +01:00
Exempt the current article from the timeline read filter. Issue #1798
This commit is contained in:
parent
0e72811429
commit
28c2598cf6
@ -600,11 +600,11 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
|
||||
}
|
||||
|
||||
func refreshTimeline(resetScroll: Bool) {
|
||||
if let article = self.currentArticle, let account = article.account {
|
||||
exceptionArticleFetcher = SingleArticleFetcher(account: account, articleID: article.articleID)
|
||||
}
|
||||
fetchAndReplaceArticlesAsync(animated: true) {
|
||||
self.masterTimelineViewController?.reinitializeArticles(resetScroll: resetScroll)
|
||||
if let article = self.currentArticle, self.articles.firstIndex(of: article) == nil {
|
||||
self.selectArticle(nil)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user