Only apply cell updates to the correct feed icon notification
This commit is contained in:
parent
84ab745e06
commit
bed5cfa94d
|
@ -109,7 +109,10 @@ class MasterFeedViewController: UITableViewController, UndoableCommandRunner {
|
|||
}
|
||||
|
||||
@objc func feedIconDidBecomeAvailable(_ note: Notification) {
|
||||
applyToAvailableCells(configureIcon)
|
||||
guard let feed = note.userInfo?[UserInfoKey.feed] as? Feed else {
|
||||
return
|
||||
}
|
||||
applyToCellsForRepresentedObject(feed, configureIcon(_:_:))
|
||||
}
|
||||
|
||||
@objc func feedSettingDidChange(_ note: Notification) {
|
||||
|
|
Loading…
Reference in New Issue