forked from organicmaps/organicmaps
Hide PP on down swipe.
This commit is contained in:
parent
631de02f8f
commit
18f365ad64
1 changed files with 2 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue