Show progress indicator while refreshing. Fix #31.

This commit is contained in:
Brent Simmons 2017-05-29 12:22:06 -07:00
parent f87edca067
commit 3c083c712b
1 changed files with 1 additions and 1 deletions

View File

@ -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)