Skip to content

Commit c05def8

Browse files
committed
Fixed NativeHeaderTableController init.
1 parent f75c0a2 commit c05def8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/NativeUIKit/Controllers/Table/NativeHeaderTableController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ open class NativeHeaderTableController: SPDiffableTableController {
2929

3030
// MARK: - Init
3131

32-
init(headerView: UIView) {
33-
super.init(style: .insetGrouped)
32+
public init(headerView: UIView, style: UITableView.Style) {
33+
super.init(style: style)
3434
tableView.tableHeaderView = HeaderContainerView(contentView: headerView)
3535
}
3636

0 commit comments

Comments
 (0)