TabInfo: don't need to implement == if Codable/hashable
This commit is contained in:
@@ -14,11 +14,7 @@ struct TabInfo: Codable, Hashable
|
||||
public var urlString: String?
|
||||
public var faviconData: Data?
|
||||
public var identifier = UUID()
|
||||
|
||||
public static func ==(lhs: TabInfo, rhs: TabInfo) -> Bool {
|
||||
return lhs.identifier == rhs.identifier
|
||||
}
|
||||
|
||||
|
||||
enum CodingKeys: String, CodingKey {
|
||||
case title
|
||||
case urlString = "url"
|
||||
|
||||
Reference in New Issue
Block a user