mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-29 00:31:14 +00:00
Change to only send the unread counts init notification once during program load. Issue #1772
This commit is contained in:
1 parent
336c980243
commit
2017a2138f
1 file changed
+5
-2
@@ -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