diff --git a/Frameworks/Account/Folder.swift b/Frameworks/Account/Folder.swift index acd72b241..25fd7ee75 100644 --- a/Frameworks/Account/Folder.swift +++ b/Frameworks/Account/Folder.swift @@ -156,16 +156,9 @@ private extension Folder { } func childrenContain(_ feed: Feed) -> Bool { - return children.contains(where: { (object) -> Bool in - if object === feed { - return true - } if let oneFeed = object as? Feed { - if oneFeed.feedID == feed.feedID { - assertionFailure("Expected feeds to match by pointer equality rather than by feedID.") - return true - } + return oneFeed == feed } return false })