lib/ProMotion/table/extensions/searchable.rb in ProMotion-2.2.2 vs lib/ProMotion/table/extensions/searchable.rb in ProMotion-2.3.0

- old
+ new

@@ -14,10 +14,10 @@ @table_search_display_controller = UISearchDisplayController.alloc.initWithSearchBar(search_bar, contentsController: params[:content_controller]) @table_search_display_controller.delegate = params[:delegate] @table_search_display_controller.searchResultsDataSource = params[:data_source] @table_search_display_controller.searchResultsDelegate = params[:search_results_delegate] - self.table_view.tableHeaderView = search_bar + self.tableView.tableHeaderView = search_bar end alias :makeSearchable :make_searchable def set_searchable_param_defaults(params) params[:content_controller] ||= params[:contentController]