Show progress indicator while refreshing. Fix #31.
This commit is contained in:
parent
f87edca067
commit
3c083c712b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue