Fix crash when refreshing My Profile

Closes #140
This commit is contained in:
Shadowfacts 2022-03-28 22:23:33 -04:00
parent 930ec7ccff
commit 781c37fbae
1 changed files with 8 additions and 0 deletions

View File

@ -240,6 +240,14 @@ extension ProfileStatusesViewController {
struct Item: Hashable { struct Item: Hashable {
let id: String let id: String
let state: StatusState let state: StatusState
static func ==(lhs: Item, rhs: Item) -> Bool {
return lhs.id == rhs.id
}
func hash(into hasher: inout Hasher) {
hasher.combine(id)
}
} }
} }