diff --git a/Tusker/Screens/Utilities/TimelineLikeTableViewController.swift b/Tusker/Screens/Utilities/TimelineLikeTableViewController.swift index 65f9c57b..1cfa7fdd 100644 --- a/Tusker/Screens/Utilities/TimelineLikeTableViewController.swift +++ b/Tusker/Screens/Utilities/TimelineLikeTableViewController.swift @@ -117,7 +117,9 @@ class TimelineLikeTableViewController: EnhancedTableViewController, Refres } private func pruneOffscreenRows() { - guard let lastVisibleRow = lastLastVisibleRow else { + guard let lastVisibleRow = lastLastVisibleRow, + // never remove the last section + sections.count - headerSectionsCount() > 1 else { return } let lastSectionIndex = sections.count - 1