Change to only send the unread counts init notification once during program load. Issue #1772
This commit is contained in:
parent
336c980243
commit
2017a2138f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue