2
2
mirror of https://github.com/mastodon/mastodon-ios synced 2025-04-11 22:58:02 +02:00

Fix Load More Gap eventually shown due to false positive (IOS-275)

This commit is contained in:
Marcus Kida 2024-06-12 09:22:00 +02:00
parent df8275e247
commit 8504284bc9
No known key found for this signature in database
GPG Key ID: 19FF64E08013CA40

View File

@ -196,7 +196,11 @@ extension HomeTimelineViewModel {
hasMore = false
} else {
/// if fetched items and first item after gap don't match -> we got another gap
hasMore = item != head.first?.status?.entity
if let entity = head.first?.status?.entity {
hasMore = item.id != entity.id
} else {
hasMore = false
}
}
feedItems.append(