mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Fix home screen visible range updating
This commit is contained in:
@@ -186,7 +186,7 @@ struct HomeScreen: View {
|
|||||||
/// Dispatch it with a delay to allow the UI to update and the computations to be correct
|
/// Dispatch it with a delay to allow the UI to update and the computations to be correct
|
||||||
/// Once we move to iOS 17 we should remove all of this and use scroll anchors instead
|
/// Once we move to iOS 17 we should remove all of this and use scroll anchors instead
|
||||||
private func updateVisibleRange() {
|
private func updateVisibleRange() {
|
||||||
DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) { updateVisibleRange() }
|
DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) { delayedUpdateVisibleRange() }
|
||||||
}
|
}
|
||||||
|
|
||||||
private func delayedUpdateVisibleRange() {
|
private func delayedUpdateVisibleRange() {
|
||||||
|
|||||||
Reference in New Issue
Block a user