Added per feed article extraction

This commit is contained in:
Maurice Parker 2019-09-27 19:58:09 -05:00
parent e5f446c906
commit bed02fc572
1 changed files with 7 additions and 4 deletions

View File

@ -586,12 +586,15 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
masterTimelineViewController?.updateArticleSelection(animate: false)
}
articleViewController?.state = .article(article!)
if let article = currentArticle {
markArticles(Set([article]), statusKey: .read, flag: true)
if article!.feed?.isArticleExtractorAlwaysOn ?? false {
startArticleExtractorForCurrentLink()
articleViewController?.state = .loading
} else {
articleViewController?.state = .article(article!)
}
markArticles(Set([article!]), statusKey: .read, flag: true)
}
func beginSearching() {