Add feed meta data did change notification

This commit is contained in:
Maurice Parker 2019-09-22 21:42:49 -05:00
parent 124997feca
commit 0709b006f4
1 changed files with 1 additions and 0 deletions

View File

@ -406,6 +406,7 @@ public final class Account: DisplayNameProvider, UnreadCountProvider, Container,
for feed in flattenedFeeds() { for feed in flattenedFeeds() {
feed.metadata = feedMetadata(feedURL: feed.url, feedID: feed.feedID) feed.metadata = feedMetadata(feedURL: feed.url, feedID: feed.feedID)
} }
NotificationCenter.default.post(name: .FeedMetadataDidChange, object: self, userInfo: nil)
} }
public func markArticles(_ articles: Set<Article>, statusKey: ArticleStatus.Key, flag: Bool) -> Set<Article>? { public func markArticles(_ articles: Set<Article>, statusKey: ArticleStatus.Key, flag: Bool) -> Set<Article>? {