fix: style in init of table view

This commit is contained in:
Nikita Semenov 2022-08-30 21:58:24 +03:00
parent 635a9bb9b0
commit fa130aecdb
1 changed files with 5 additions and 2 deletions

View File

@ -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()