Fix bug where Feeds wasn't getting updated when adding/subtracting or activating/inactivating accounts
This commit is contained in:
parent
197fc0170e
commit
b98877c7df
|
@ -286,14 +286,14 @@ class AppCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
|
|||
|
||||
@objc func accountStateDidChange(_ note: Notification) {
|
||||
if timelineFetcherContainsAnyPseudoFeed() {
|
||||
fetchAndReplaceArticlesAsync()
|
||||
fetchAndReplaceArticlesSync()
|
||||
}
|
||||
rebuildBackingStores()
|
||||
}
|
||||
|
||||
@objc func accountsDidChange(_ note: Notification) {
|
||||
if timelineFetcherContainsAnyPseudoFeed() {
|
||||
fetchAndReplaceArticlesAsync()
|
||||
fetchAndReplaceArticlesSync()
|
||||
}
|
||||
rebuildBackingStores()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue