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