Fix bug where account unread counts weren't changing with async api calls

This commit is contained in:
Maurice Parker 2019-05-16 09:54:19 -05:00
parent 24fa57a472
commit 3986e00bf7
1 changed files with 1 additions and 0 deletions

View File

@ -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()