From 1ab5323a43aceee7ee77b39e1bafcb5a91d8cc0d Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sat, 24 Oct 2020 20:40:06 -0500 Subject: [PATCH] Call completion handler when done updating statuses. --- Account/Sources/Account/Account.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Account/Sources/Account/Account.swift b/Account/Sources/Account/Account.swift index 2590e1348..f44e018df 100644 --- a/Account/Sources/Account/Account.swift +++ b/Account/Sources/Account/Account.swift @@ -807,6 +807,7 @@ public final class Account: DisplayNameProvider, UnreadCountProvider, Container, let updatedArticleIDs = updatedStatuses.articleIDs() let updatedArticles = Set(articles.filter{ updatedArticleIDs.contains($0.articleID) }) self.noteStatusesForArticlesDidChange(updatedArticles) + completion(.success(updatedArticles)) case .failure(let error): completion(.failure(error)) }