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) {
|
@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()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue