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:
parent
df8275e247
commit
8504284bc9
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user