From 3986e00bf79d1f147e184090eefd2c88ed1692f4 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Thu, 16 May 2019 09:54:19 -0500 Subject: [PATCH] Fix bug where account unread counts weren't changing with async api calls --- Frameworks/Account/Account.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Frameworks/Account/Account.swift b/Frameworks/Account/Account.swift index 0f776ef35..b911d2ee8 100644 --- a/Frameworks/Account/Account.swift +++ b/Frameworks/Account/Account.swift @@ -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()