mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-27 10:02:37 +01:00
Use synthesized Equatable.
This commit is contained in:
parent
96f118853d
commit
24a6fae370
@ -26,10 +26,5 @@ struct SidebarCellAppearance: Equatable {
|
||||
self.imageMarginRight = theme.float(forKey: "MainWindow.SourceList.favicon.marginRight")
|
||||
self.unreadCountMarginLeft = theme.float(forKey: "MainWindow.SourceList.unreadCount.marginLeft")
|
||||
}
|
||||
|
||||
static func ==(lhs: SidebarCellAppearance, rhs: SidebarCellAppearance) -> Bool {
|
||||
|
||||
return lhs.imageSize == rhs.imageSize && lhs.imageMarginRight == rhs.imageMarginRight && lhs.unreadCountMarginLeft == rhs.unreadCountMarginLeft && lhs.textFieldFontSize == rhs.textFieldFontSize
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user