next/prev

This commit is contained in:
Avently
2025-01-18 02:39:36 -08:00
parent baef282320
commit bbd8cc2477
@@ -239,7 +239,7 @@ struct ListItem: Hashable {
let unreadBefore: Int
func genHash() -> String {
"\(item.meta.itemId) \(item.meta.updatedAt.hashValue) \(item.reactions.count) \(item.meta.isRcvNew) \(item.text.hash) \(unreadBefore)"
"\(item.meta.itemId) \(item.meta.updatedAt.hashValue) \(item.reactions.count) \(item.meta.isRcvNew) \(item.text.hash) \(unreadBefore) \(prevItem?.id ?? -1) \(nextItem?.id ?? -2)"
}
}