Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorАлександр Зацепин <az@mapswithme.com>2017-12-12 15:46:55 +0300
committerIlya Grechuhin <i.grechuhin@gmail.com>2017-12-14 14:10:18 +0300
commitf79816ca8bee1932ce14251f493858ff0e8bcf26 (patch)
treeae0c547f7bdf8afa626fbe981125b839e90697c2 /android/src/com/mapswithme/maps/search/SearchFragment.java
parent18af2cbd0b2bec109a77b33675ed1dbaa415cf20 (diff)
[android] Added resetting the hotel filter when search result is clicked
Diffstat (limited to 'android/src/com/mapswithme/maps/search/SearchFragment.java')
-rw-r--r--android/src/com/mapswithme/maps/search/SearchFragment.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/android/src/com/mapswithme/maps/search/SearchFragment.java b/android/src/com/mapswithme/maps/search/SearchFragment.java
index 1107cb2b8e..fa15791701 100644
--- a/android/src/com/mapswithme/maps/search/SearchFragment.java
+++ b/android/src/com/mapswithme/maps/search/SearchFragment.java
@@ -191,10 +191,7 @@ public class SearchFragment extends BaseMwmFragment
{
super.clear();
if (mFilterController != null)
- {
- mFilterController.setFilter(null);
- mFilterController.updateFilterButtonVisibility(false);
- }
+ mFilterController.resetFilter();
}
}
@@ -552,6 +549,9 @@ public class SearchFragment extends BaseMwmFragment
RoutingController.get().onPoiSelected(point);
}
+ if (mFilterController != null)
+ mFilterController.resetFilter();
+
mToolbarController.deactivate();
if (getActivity() instanceof SearchActivity)