mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Change to only send the unread counts init notification once during program load. Issue #1772
This commit is contained in:
@@ -1290,8 +1290,11 @@ private extension Account {
|
||||
|
||||
self.fetchingAllUnreadCounts = false
|
||||
self.updateUnreadCount()
|
||||
self.isUnreadCountsInitialized = true
|
||||
self.postUnreadCountDidInitializeNotification()
|
||||
|
||||
if !self.isUnreadCountsInitialized {
|
||||
self.isUnreadCountsInitialized = true
|
||||
self.postUnreadCountDidInitializeNotification()
|
||||
}
|
||||
}
|
||||
|
||||
operationQueue.addOperation(operation)
|
||||
|
||||
Reference in New Issue
Block a user