Remove some now-unneeded guard statements.

This commit is contained in:
Brent Simmons committed 2026-01-22 10:15:29 -08:00
1 parent c7ecf5ecc2
commit a164fe82e9
1 file changed
+1 -16
@@ -626,11 +626,6 @@ final class MainTimelineViewController: UITableViewController, UndoableCommandRu
let visibleArticles = indexPaths.compactMap { dataSource.itemIdentifier(for: $0) }
let visibleUpdatedArticles = visibleArticles.filter { articleIDs.contains($0.articleID) }
guard !visibleUpdatedArticles.isEmpty else {
return
}
reconfigureCells(visibleUpdatedArticles)
}
@@ -673,11 +668,6 @@ final class MainTimelineViewController: UITableViewController, UndoableCommandRu
}
return nil
}
guard !articlesToReload.isEmpty else {
return
}
reconfigureCells(articlesToReload)
}
@@ -712,11 +702,6 @@ final class MainTimelineViewController: UITableViewController, UndoableCommandRu
}
return nil
}
guard !articlesToReload.isEmpty else {
return
}
reconfigureCells(articlesToReload)
}
@@ -764,7 +749,7 @@ final class MainTimelineViewController: UITableViewController, UndoableCommandRu
guard let indexPaths = tableView.indexPathsForVisibleRows else {
return
}
let visibleArticles = indexPaths.compactMap { dataSource.itemIdentifier(for: $0) }
reconfigureCells(visibleArticles)
}