mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-26 17:43:22 +01:00
Remove assertion that wasn’t valid in some situations. Fix #283.
This commit is contained in:
parent
31c7d0aa34
commit
8f9575ee84
@ -354,11 +354,8 @@ public final class Account: DisplayNameProvider, UnreadCountProvider, Container,
|
|||||||
return result
|
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) {
|
public func fetchUnreadCountForToday(_ callback: @escaping (Int) -> Void) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user