0013 patch
iOS CI / Build and Test SwiftUI App (push) Canceled after 0s
Build Unsigned iOS and macOS Apps / Build Unsigned iOS IPA (push) Canceled after 0s
Build Unsigned iOS and macOS Apps / Build macOS ZIP (push) Canceled after 0s

This commit is contained in:
wt committed 2026-08-11 23:05:16 +07:00
1 parent 57eaf56023
commit dee7e94e92
2 files changed
+79 -3

No files matched your search

+7 -1
View File
@@ -442,12 +442,18 @@ struct ChatView: View {
}
#endif
.onPreferenceChange(TimelineTopYPreferenceKey.self) { topY in
if topY > 24 {
historyTopTriggerArmed = true
return
}
guard hasCompletedInitialScroll,
!timelineEntries.isEmpty,
model.hasMoreOlderHistory,
!model.isLoadingOlderHistory,
topY <= 24
historyTopTriggerArmed
// topY <= 24
else { return }
historyTopTriggerArmed = false
historyLoadAnchorID = timelineEntries.first?.id
model.loadOlderHistoryForSelectedConversation()
}