Fix bug where smart feeds weren't being updated on account activation/deactivation.

This commit is contained in:
Maurice Parker 2019-05-06 17:46:41 -05:00
parent d6ae740305
commit a5a066dd49

View File

@ -45,7 +45,7 @@ final class SmartFeed: PseudoFeed {
} }
@objc func unreadCountDidChange(_ note: Notification) { @objc func unreadCountDidChange(_ note: Notification) {
if note.object is Account { if note.object is AppDelegate {
queueFetchUnreadCounts() queueFetchUnreadCounts()
} }
} }