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 {
|
if let account = object as? Account, account === self {
|
||||||
structureDidChange()
|
structureDidChange()
|
||||||
|
updateUnreadCount()
|
||||||
}
|
}
|
||||||
if let folder = object as? Folder, folder.account === self {
|
if let folder = object as? Folder, folder.account === self {
|
||||||
structureDidChange()
|
structureDidChange()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user