Fix bug where Feeds wasn't getting updated when adding/subtracting or activating/inactivating accounts

This commit is contained in:
Maurice Parker 2019-08-29 14:46:51 -05:00
parent 197fc0170e
commit b98877c7df
1 changed files with 2 additions and 2 deletions

View File

@ -286,14 +286,14 @@ class AppCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
@objc func accountStateDidChange(_ note: Notification) { @objc func accountStateDidChange(_ note: Notification) {
if timelineFetcherContainsAnyPseudoFeed() { if timelineFetcherContainsAnyPseudoFeed() {
fetchAndReplaceArticlesAsync() fetchAndReplaceArticlesSync()
} }
rebuildBackingStores() rebuildBackingStores()
} }
@objc func accountsDidChange(_ note: Notification) { @objc func accountsDidChange(_ note: Notification) {
if timelineFetcherContainsAnyPseudoFeed() { if timelineFetcherContainsAnyPseudoFeed() {
fetchAndReplaceArticlesAsync() fetchAndReplaceArticlesSync()
} }
rebuildBackingStores() rebuildBackingStores()
} }