[ios] Fixed navigation p2p button state.

This commit is contained in:
Ilya Grechuhin 2016-08-01 17:43:27 +03:00
parent c9523276b5
commit 9b6d072e2f
2 changed files with 1 additions and 2 deletions

View file

@ -371,6 +371,7 @@ extern NSString * const kAlohalyticsTapEventKey;
{
self.navigationManager.state = MWMNavigationDashboardStatePrepare;
MapsAppDelegate.theApp.routingPlaneMode = MWMRoutingPlaneModePlacePage;
self.menuController.p2pButton.selected = YES;
}
- (void)onRouteRebuild

View file

@ -154,8 +154,6 @@ using TInfoDisplays = NSHashTable<__kindof TInfoDisplay>;
- (void)setState:(MWMNavigationDashboardState)state
{
if (_state == state)
return;
switch (state)
{
case MWMNavigationDashboardStateHidden: [self hideState]; break;