This commit is contained in:
Brent Simmons 2017-12-29 11:31:54 -08:00
commit bdaab17f37

View File

@ -354,10 +354,7 @@ public final class Account: DisplayNameProvider, UnreadCountProvider, Container,
return result
}
if feedUnreadCount != feed.unreadCount {
assertionFailure("Expected feed.unreadCount \(feed.unreadCount) to equal number of fetched unread articles \(feedUnreadCount).")
feed.unreadCount = feedUnreadCount
}
feed.unreadCount = feedUnreadCount
}
public func fetchUnreadCountForToday(_ callback: @escaping (Int) -> Void) {