Commit 8b3f5edb authored by Jose Blaya's avatar Jose Blaya
Browse files

Fix bug presenting filters while the search bar is active

parent 3b7cc244
......@@ -96,6 +96,11 @@ class RegionsViewController: AutolayoutViewController {
// MARK: Actions
@objc private func showFilter(_ sender: Any?) {
if searchController.isActive {
searchController.searchBar.text = ""
searchController.dismiss(animated: false)
let popup = PopupDialog(title: nil,
message: L10n.Region.Filter.sortby.uppercased())
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