From 3c083c712b3ed670f0195ca9dddc39d27d605230 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Mon, 29 May 2017 12:22:06 -0700 Subject: [PATCH] Show progress indicator while refreshing. Fix #31. --- Frameworks/LocalAccount/LocalAccount.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frameworks/LocalAccount/LocalAccount.swift b/Frameworks/LocalAccount/LocalAccount.swift index 9c909a75f..9a1c99187 100644 --- a/Frameworks/LocalAccount/LocalAccount.swift +++ b/Frameworks/LocalAccount/LocalAccount.swift @@ -95,7 +95,7 @@ public final class LocalAccount: Account, PlistProvider { NotificationCenter.default.addObserver(self, selector: #selector(unreadCountDidChange(_:)), name: .UnreadCountDidChange, object: nil) - NotificationCenter.default.addObserver(self, selector: #selector(refreshProgressDidChange(_:)), name: .AccountRefreshProgressDidChange, object: nil) + NotificationCenter.default.addObserver(self, selector: #selector(refreshProgressDidChange(_:)), name: .DownloadProgressDidChange, object: nil) DispatchQueue.main.async() { () -> Void in self.updateUnreadCounts(feedIDs: self.flattenedFeedIDs)