Commit 3a9d6399 by Mobile Roshka

Se arregla un bug con el buscador

parent c8595c29
...@@ -268,7 +268,8 @@ extension ScreenTwoViewController: UISearchBarDelegate { ...@@ -268,7 +268,8 @@ extension ScreenTwoViewController: UISearchBarDelegate {
searchBar.endEditing(true) searchBar.endEditing(true)
searchBarView.endEditing(true) searchBarView.endEditing(true)
tableView.isHidden = true tableView.isHidden = true
if (textButton?.uppercased().contains("todos"))! {
if textButton! == "Todos los productos" {
addFeatureCollectionInTheMap() addFeatureCollectionInTheMap()
} else { } else {
addFeatureCollectionFilterInTheMap(tipo: tipoProducto, nombre: textButton!) addFeatureCollectionFilterInTheMap(tipo: tipoProducto, nombre: textButton!)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment