mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 21:39:12 +00:00
Reduce automatic back pagination delay to 0.25 seconds
This commit is contained in:
parent
8647152980
commit
d89782a8b2
@ -77,7 +77,7 @@ struct TimelineItemList: View {
|
||||
guard !isBackPaginating else { return }
|
||||
|
||||
// Repeat the pagination if the top edge is still visible.
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(1)) {
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + 0.25) {
|
||||
guard visibleEdges.contains(.top) else { return }
|
||||
requestBackPagination()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user