diff --git a/Tusker/Screens/Profile/ProfileTableViewController.swift b/Tusker/Screens/Profile/ProfileTableViewController.swift index c1dd5c616a..36a9976b14 100644 --- a/Tusker/Screens/Profile/ProfileTableViewController.swift +++ b/Tusker/Screens/Profile/ProfileTableViewController.swift @@ -209,9 +209,16 @@ class ProfileTableViewController: EnhancedTableViewController { guard case let .success(newStatuses, pagination) = response else { fatalError() } self.mastodonController.persistentContainer.addAll(statuses: newStatuses) { - self.timelineSegments[indexPath.section - 2].append(contentsOf: newStatuses.map { ($0.id, .unknown) }) - self.older = pagination?.older + + DispatchQueue.main.async { + let start = self.timelineSegments[indexPath.section - 2].count + let indexPaths = (0..