fix: style in init of table view
This commit is contained in:
parent
635a9bb9b0
commit
fa130aecdb
|
|
@ -46,10 +46,13 @@ open class BaseFiltersTableView<CellType: UITableViewCell & ConfigurableView,
|
|||
|
||||
// MARK: - Init
|
||||
|
||||
public init(viewModel: BaseFilterViewModel<CellType.ViewModelType, PropertyValue>, allowsMultipleSelection: Bool = true) {
|
||||
public init(viewModel: BaseFilterViewModel<CellType.ViewModelType, PropertyValue>,
|
||||
allowsMultipleSelection: Bool = true,
|
||||
style: UITableView.Style = .plain) {
|
||||
|
||||
self.viewModel = viewModel
|
||||
|
||||
super.init(frame: .zero, style: .plain)
|
||||
super.init(frame: .zero, style: style)
|
||||
|
||||
initializeView()
|
||||
viewDidLoad()
|
||||
|
|
|
|||
Loading…
Reference in New Issue