From 0b2ec6473ac712aec3c2576672b480e781f967bc Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sat, 1 Feb 2020 15:16:24 -0800 Subject: [PATCH] Call the correct fetchUnreadCounts methd. --- Frameworks/Account/Account.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Frameworks/Account/Account.swift b/Frameworks/Account/Account.swift index 740a7f349..de98b328c 100644 --- a/Frameworks/Account/Account.swift +++ b/Frameworks/Account/Account.swift @@ -623,7 +623,7 @@ public final class Account: DisplayNameProvider, UnreadCountProvider, Container, } public func updateUnreadCounts(for webFeeds: Set, completion: VoidCompletionBlock? = nil) { - fetchUnreadCounts(webFeeds, completion) + fetchUnreadCounts(for: webFeeds, completion: completion) } public func fetchArticles(_ fetchType: FetchType) throws -> Set
{ @@ -1230,7 +1230,7 @@ private extension Account { /// Fetch unread counts for zero or more feeds. /// /// Uses the most efficient method based on how many feeds were passed in. - func fetchUnreadCounts(for feeds: Set, _ completion: VoidCompletionBlock?) { + func fetchUnreadCounts(for feeds: Set, completion: VoidCompletionBlock?) { if feeds.isEmpty { completion?() return