diff --git a/Packages/Timeline/Sources/Timeline/TimelineView.swift b/Packages/Timeline/Sources/Timeline/TimelineView.swift index 2c8ceccb..68f86f8c 100644 --- a/Packages/Timeline/Sources/Timeline/TimelineView.swift +++ b/Packages/Timeline/Sources/Timeline/TimelineView.swift @@ -57,7 +57,9 @@ public struct TimelineView: View { .scrollContentBackground(.hidden) .background(theme.primaryBackgroundColor) .introspect(.list, on: .iOS(.v16, .v17)) { (collectionView: UICollectionView) in - self.collectionView = collectionView + DispatchQueue.main.async { + self.collectionView = collectionView + } self.prefetcher.viewModel = viewModel collectionView.isPrefetchingEnabled = true collectionView.prefetchDataSource = self.prefetcher