mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 20:09:04 +00:00
Reduce automatic back pagination delay to 0.25 seconds
This commit is contained in:
committed by
Stefan Ceriu
parent
8647152980
commit
d89782a8b2
@@ -77,7 +77,7 @@ struct TimelineItemList: View {
|
|||||||
guard !isBackPaginating else { return }
|
guard !isBackPaginating else { return }
|
||||||
|
|
||||||
// Repeat the pagination if the top edge is still visible.
|
// 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 }
|
guard visibleEdges.contains(.top) else { return }
|
||||||
requestBackPagination()
|
requestBackPagination()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user