forked from shadowfacts/Tusker
parent
930ec7ccff
commit
781c37fbae
|
@ -240,6 +240,14 @@ extension ProfileStatusesViewController {
|
|||
struct Item: Hashable {
|
||||
let id: String
|
||||
let state: StatusState
|
||||
|
||||
static func ==(lhs: Item, rhs: Item) -> Bool {
|
||||
return lhs.id == rhs.id
|
||||
}
|
||||
|
||||
func hash(into hasher: inout Hasher) {
|
||||
hasher.combine(id)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue