Rebuild the feed dictionary at appropriate times. Fix #169.
This commit is contained in:
parent
1047fa5a02
commit
e026e159d1
|
@ -253,6 +253,7 @@ public final class Account: DisplayNameProvider, UnreadCountProvider, Container,
|
||||||
didAddFeed = true
|
didAddFeed = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rebuildFeedDictionaries()
|
||||||
return didAddFeed // TODO
|
return didAddFeed // TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -290,6 +291,7 @@ public final class Account: DisplayNameProvider, UnreadCountProvider, Container,
|
||||||
}
|
}
|
||||||
children += [folder]
|
children += [folder]
|
||||||
postChildrenDidChangeNotification()
|
postChildrenDidChangeNotification()
|
||||||
|
rebuildFeedDictionaries()
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -397,6 +399,7 @@ public final class Account: DisplayNameProvider, UnreadCountProvider, Container,
|
||||||
|
|
||||||
@objc func batchUpdateDidPerform(_ note: Notification) {
|
@objc func batchUpdateDidPerform(_ note: Notification) {
|
||||||
|
|
||||||
|
rebuildFeedDictionaries()
|
||||||
updateUnreadCount()
|
updateUnreadCount()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue