diff --git a/Evergreen/FeedList/FeedListFolder.swift b/Evergreen/FeedList/FeedListFolder.swift index 1572fa9b0..668292104 100644 --- a/Evergreen/FeedList/FeedListFolder.swift +++ b/Evergreen/FeedList/FeedListFolder.swift @@ -23,4 +23,16 @@ final class FeedListFolder: Hashable, DisplayNameProvider { self.name = name self.feeds = feeds } + + // MARK: - Hashable + + public func hash(into hasher: inout Hasher) { + hasher.combine(name) + } + + // MARK: - Equatable + + static func ==(lhs: FeedListFolder, rhs: FeedListFolder) -> Bool { + return lhs.name == rhs.name && lhs.feeds == rhs.feeds + } }