Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func reloadSearchFiltersWith(options: [EquipmentSearchFilter]) {
- UIView.setAnimationsEnabled(false)
- self.searchFilterTable.reloadData()
- UIView.setAnimationsEnabled(true)
- self._interactor.searchForEquipmentsWith(on: self._model, name: nil, filters: self._model.selectedFilter, onSelectedView: self.selectedEquipment)
- self.animateFilterTableConstraint()
- if _model.historyList.count == 0 && _model.filterOptionList.count <= 2 {
- _model.historyList = HistoryWorker.getHistoryList(for: _model.filterOptionList.first!.groups)
- self.recentSearchTable.reloadData()
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement