Hide PP on down swipe.

This commit is contained in:
Dmitry Yunitsky 2015-03-06 20:52:43 +03:00 committed by Alex Zolotarev
parent 631de02f8f
commit 18f365ad64

View file

@ -70,13 +70,8 @@ public class BottomPlacePageAnimationController extends BasePlacePageAnimationCo
{
if (distanceY < 0f)
{
if (mPlacePage.getState() == State.PREVIEW)
{
Framework.deactivatePopup();
mPlacePage.setState(State.HIDDEN);
}
else
mPlacePage.setState(State.PREVIEW);
Framework.deactivatePopup();
mPlacePage.setState(State.HIDDEN);
}
else
mPlacePage.setState(State.DETAILS);