Fix bug where account unread counts weren't changing with async api calls
This commit is contained in:
parent
24fa57a472
commit
3986e00bf7
|
@ -720,6 +720,7 @@ public final class Account: DisplayNameProvider, UnreadCountProvider, Container,
|
|||
}
|
||||
if let account = object as? Account, account === self {
|
||||
structureDidChange()
|
||||
updateUnreadCount()
|
||||
}
|
||||
if let folder = object as? Folder, folder.account === self {
|
||||
structureDidChange()
|
||||
|
|
Loading…
Reference in New Issue