Mark classes as final when they can be, to communicate intent (don’t subclass these). Fix #4751.

This commit is contained in:
Brent Simmons committed 2025-09-16 10:21:29 -07:00
1 parent c6585994fb
commit 4b7ea6d920
170 files changed
+188 -188

No files matched your search

@@ -8,7 +8,7 @@
import UIKit
class MainTimelineDataSource<SectionIdentifierType, ItemIdentifierType>: UITableViewDiffableDataSource<SectionIdentifierType, ItemIdentifierType> where SectionIdentifierType : Hashable, ItemIdentifierType : Hashable {
final class MainTimelineDataSource<SectionIdentifierType, ItemIdentifierType>: UITableViewDiffableDataSource<SectionIdentifierType, ItemIdentifierType> where SectionIdentifierType : Hashable, ItemIdentifierType : Hashable {
override func tableView(_ tableView: UITableView, canEditRowAt indexPath: IndexPath) -> Bool {
return true